File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
TextTool.Wpf.SimpleListCollectionView/ComponentModel Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ namespace TextTool.Core.ViewModels;
1414public class SearchFileViewModel : ObservableObject
1515{
1616 private const int _TimerInterval = 1000 ;
17- //private readonly IFileSearch _searcher;
1817 private readonly object _resultSyncRoot = new ( ) ;
1918 private readonly BulkObservableCollection < SearchResultItem > _resultItems ;
2019 private readonly PropertySortComparer _itemComparer ;
@@ -30,7 +29,6 @@ public class SearchFileViewModel : ObservableObject
3029
3130 public SearchFileViewModel ( )
3231 {
33- //_searcher = GetSearcher();
3432 _resultItems = [ ] ;
3533 _itemComparer = PropertySortComparer < SearchResultItem > . Create ( new SearchResultItemPropertyComparisonProvider ( ) ) ;
3634
@@ -168,7 +166,6 @@ public async Task DisposeAsync()
168166 _tokenSource = null ;
169167 _searchTimer . Elapsed -= UpdateResultCount ;
170168 _searchTimer . Dispose ( ) ;
171- //_searcher.Dispose();
172169 _resultItems . Clear ( ) ;
173170 }
174171
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ protected override void RefreshOverride()
263263 }
264264 else
265265 {
266- // no other foreign threads can change the source collection, refresh direcly
266+ // no other foreign threads can change the source collection, refresh directly
267267 RefreshCore ( ) ;
268268 }
269269 }
Original file line number Diff line number Diff line change 88 <UseWPF >true</UseWPF >
99 <ApplicationManifest >app.manifest</ApplicationManifest >
1010 <Product >TextTool</Product >
11+ <IncludeSourceRevisionInInformationalVersion >false</IncludeSourceRevisionInInformationalVersion >
1112 </PropertyGroup >
1213
1314 <ItemGroup >
You can’t perform that action at this time.
0 commit comments