Exemple #1
0
        public BaseMainViewModel()
        {
            searchResults         = new ObservableGrepSearchResults();
            this.RequestClose    += MainViewModel_RequestClose;
            this.PropertyChanged += MainViewModel_PropertyChanged;

            CurrentGrepOperation   = GrepOperation.None;
            IsCaseSensitiveEnabled = true;
            IsMultilineEnabled     = true;
            IsWholeWordEnabled     = true;
            LoadSettings();
        }
Exemple #2
0
        public BaseMainViewModel()
        {
            searchResults         = new ObservableGrepSearchResults();
            this.RequestClose    += MainViewModel_RequestClose;
            this.PropertyChanged += MainViewModel_PropertyChanged;

            CurrentGrepOperation    = GrepOperation.None;
            IsCaseSensitiveEnabled  = true;
            IsMultilineEnabled      = true;
            IsWholeWordEnabled      = true;
            Utils.ArchiveExtensions = GrepEngineFactory.GetArchiveExtenstions();
            CanSearchArchives       = Utils.ArchiveExtensions.Count > 0;
            LoadSettings();
        }
Exemple #3
0
 public SelectionComparer(ObservableGrepSearchResults orderBy)
 {
     this.orderBy = orderBy;
 }