public BaseMainViewModel() { RequestClose += MainViewModel_RequestClose; PropertyChanged += MainViewModel_PropertyChanged; CurrentGrepOperation = GrepOperation.None; IsCaseSensitiveEnabled = true; IsMultilineEnabled = true; IsWholeWordEnabled = true; Utils.ArchiveExtensions = GrepEngineFactory.GetArchiveExtenstions(); CanSearchArchives = Utils.ArchiveExtensions.Count > 0; LoadSettings(); }
public BaseMainViewModel() { PropertyChanged += MainViewModel_PropertyChanged; CurrentGrepOperation = GrepOperation.None; IsCaseSensitiveEnabled = true; IsMultilineEnabled = true; IsWholeWordEnabled = true; Utils.ArchiveExtensions = GrepEngineFactory.GetArchiveExtenstions(); CanSearchArchives = Utils.ArchiveExtensions.Count > 0; LoadSettings(); IsEverythingAvailable = EverythingSearch.IsAvailable; }