Skip to content

Commit 2ed9d97

Browse files
committed
fix some comments and typos and project settings
1 parent 54fe29d commit 2ed9d97

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/TextTool.Core/ViewModels/SearchFileViewModel.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ namespace TextTool.Core.ViewModels;
1414
public 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

src/TextTool.Wpf.SimpleListCollectionView/ComponentModel/SimpleListCollectionView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/TextTool.Wpf/TextTool.Wpf.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<UseWPF>true</UseWPF>
99
<ApplicationManifest>app.manifest</ApplicationManifest>
1010
<Product>TextTool</Product>
11+
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

0 commit comments

Comments
 (0)