Пример #1
0
 public ReplaceViewModel()
 {
     Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
     Highlighters.Sort();
     Highlighters.Insert(0, "None");
     CurrentSyntax = "None";
 }
Пример #2
0
        public PreviewViewModel()
        {
            Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList();
            Highlighters.Sort();
            Highlighters.Insert(0, "None");
            CurrentSyntax = "None";

            PropertyChanged += PreviewViewModel_PropertyChanged;
        }
Пример #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);
 }
Пример #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;
        }
Пример #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);
        }
Пример #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;
        }