public ReplaceViewModel() { Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList(); Highlighters.Sort(); Highlighters.Insert(0, "None"); CurrentSyntax = "None"; }
public PreviewViewModel() { Highlighters = ThemedHighlightingManager.Instance.HighlightingNames.ToList(); Highlighters.Sort(); Highlighters.Insert(0, "None"); CurrentSyntax = "None"; PropertyChanged += PreviewViewModel_PropertyChanged; }
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); }
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; }
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); }
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; }