Exemple #1
0
        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();
        }
Exemple #2
0
        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;
        }