From 8f64f2266ef8e1c9f4ba384bffbb63598ec046e6 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Mon, 13 Oct 2025 19:54:15 +1000 Subject: [PATCH] find files - display result count --- .../Features/Search/FindFilesSearchResult.cs | 3 +-- .../Features/Search/SearchAllFiles/SearchAllFilesWindow.cs | 4 ++++ .../Features/Search/SearchAllFiles/SearchAllFilesWindow.tscn | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/SharpIDE.Application/Features/Search/FindFilesSearchResult.cs b/src/SharpIDE.Application/Features/Search/FindFilesSearchResult.cs index a8a696f..fb5e347 100644 --- a/src/SharpIDE.Application/Features/Search/FindFilesSearchResult.cs +++ b/src/SharpIDE.Application/Features/Search/FindFilesSearchResult.cs @@ -1,5 +1,4 @@ -using OneOf; -using SharpIDE.Application.Features.SolutionDiscovery; +using SharpIDE.Application.Features.SolutionDiscovery; namespace SharpIDE.Application.Features.Search; diff --git a/src/SharpIDE.Godot/Features/Search/SearchAllFiles/SearchAllFilesWindow.cs b/src/SharpIDE.Godot/Features/Search/SearchAllFiles/SearchAllFilesWindow.cs index 19c0129..4f36af5 100644 --- a/src/SharpIDE.Godot/Features/Search/SearchAllFiles/SearchAllFilesWindow.cs +++ b/src/SharpIDE.Godot/Features/Search/SearchAllFiles/SearchAllFilesWindow.cs @@ -6,6 +6,7 @@ namespace SharpIDE.Godot.Features.Search.SearchAllFiles; public partial class SearchAllFilesWindow : PopupPanel { + private Label _resultCountLabel = null!; private LineEdit _lineEdit = null!; private VBoxContainer _searchResultsContainer = null!; public SharpIdeSolutionModel Solution { get; set; } = null!; @@ -15,6 +16,7 @@ public partial class SearchAllFilesWindow : PopupPanel public override void _Ready() { + _resultCountLabel = GetNode