Change from KeywordFilter property to ICustomSearch

This commit is contained in:
John Lewin 2018-12-21 18:35:59 -08:00
parent 28333b5926
commit f88b04b7bc
11 changed files with 78 additions and 47 deletions

View file

@ -90,20 +90,6 @@ namespace MatterHackers.MatterControl.Library
base.Deactivate();
}
private string keywordFilter = "";
public override string KeywordFilter
{
get => keywordFilter;
set
{
if (keywordFilter != value)
{
keywordFilter = value;
this.ReloadContent();
}
}
}
public override void Dispose()
{
if (directoryWatcher != null)
@ -159,7 +145,7 @@ namespace MatterHackers.MatterControl.Library
try
{
string filter = this.KeywordFilter.Trim();
string filter = ""; // keywordFilter.Trim();
var allFiles = Directory.GetFiles(FullPath, "*.*", searchDepth);