public override bool SaveOptions() { CodeEditorOptions options = CodeEditorOptions.Instance; options.FontFamily = fontSelectionPanel.SelectedFontName; options.FontSize = SDFontSizeConverter.ToPoints(fontSelectionPanel.SelectedFontSize); return(base.SaveOptions()); }
public override void LoadOptions() { base.LoadOptions(); CodeEditorOptions options = CodeEditorOptions.Instance; fontSelectionPanel.SelectedFontName = options.FontFamily; fontSelectionPanel.SelectedFontSize = SDFontSizeConverter.FromPoints(options.FontSize); }