Esempio n. 1
0
 public ReplaceViewModel()
 {
     Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
     Highlighters.Sort();
     Highlighters.Insert(0, "None");
     CurrentSyntax = "None";
 }
Esempio n. 2
0
        public PreviewViewModel()
        {
            Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
            Highlighters.Sort();
            Highlighters.Insert(0, "None");
            CurrentSyntax = "None";

            PropertyChanged += PreviewViewModel_PropertyChanged;
        }
Esempio n. 3
0
 public ReplaceViewModel()
 {
     Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
     Highlighters.Sort();
     Highlighters.Insert(0, "None");
     CurrentSyntax         = "None";
     ApplicationFontFamily = GrepSettings.Instance.Get <string>(GrepSettings.Key.ApplicationFontFamily);
     ReplaceFormFontSize   = GrepSettings.Instance.Get <double>(GrepSettings.Key.ReplaceFormFontSize);
 }
Esempio n. 4
0
        public PreviewViewModel()
        {
            Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
            Highlighters.Sort();
            Highlighters.Insert(0, "None");
            CurrentSyntax = "None";

            HighlightsOn = GrepSettings.Instance.Get <bool>(GrepSettings.Key.HighlightMatches);

            PropertyChanged += PreviewViewModel_PropertyChanged;
        }
Esempio n. 5
0
        public ReplaceViewModel()
        {
            Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
            Highlighters.Sort();
            Highlighters.Insert(0, Resources.Replace_SyntaxNone);
            CurrentSyntax         = Resources.Replace_SyntaxNone;
            ApplicationFontFamily = GrepSettings.Instance.Get <string>(GrepSettings.Key.ApplicationFontFamily);
            ReplaceFormFontSize   = GrepSettings.Instance.Get <double>(GrepSettings.Key.ReplaceFormFontSize);
            ResultsFontFamily     = GrepSettings.Instance.Get <string>(GrepSettings.Key.ResultsFontFamily);

            IsFullDialog = GrepSettings.Instance.Get <bool>(GrepSettings.Key.ShowFullReplaceDialog);
        }
Esempio n. 6
0
        public PreviewViewModel()
        {
            Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
            Highlighters.Sort();
            Highlighters.Insert(0, "None");
            CurrentSyntax = "None";

            HighlightsOn = GrepSettings.Instance.Get <bool>(GrepSettings.Key.HighlightMatches);

            ApplicationFontFamily = GrepSettings.Instance.Get <string>(GrepSettings.Key.ApplicationFontFamily);
            MainFormFontSize      = GrepSettings.Instance.Get <double>(GrepSettings.Key.MainFormFontSize);

            PropertyChanged += PreviewViewModel_PropertyChanged;
        }