public override void SaveSettingsToStorage() { base.SaveSettingsToStorage(); language.ControlFlow = ControlFlowKeywords.ToArray(); language.Linq = LinqKeywords.ToArray(); VsfSettings.Save(); }
public override void SaveSettingsToStorage() { base.SaveSettingsToStorage(); VsfSettings.TextCompletionEnabled = TextCompletionEnabled; VsfSettings.TCCompleteDuringTyping = CompleteDuringTyping; VsfSettings.TCHandleCompleteWord = HandleCompleteWord; VsfSettings.Save(); }
public override void SaveSettingsToStorage() { base.SaveSettingsToStorage(); VsfSettings.PresentationModeEnabled = dialog.PMEnabled; VsfSettings.PresentationModeDefaultZoomLevel = dialog.DefaultZoom; VsfSettings.PresentationModeEnabledZoomLevel = dialog.EnabledZoom; VsfSettings.Save(); }
public override void SaveSettingsToStorage() { base.SaveSettingsToStorage(); VsfSettings.CurrentLineHighlightEnabled = CurrentLineHighlightEnabled; VsfSettings.CurrentColumnHighlightEnabled = CurrentColumnHighlightEnabled; VsfSettings.HighlightLineWidth = this.HighlightLineWidth; VsfSettings.KeywordClassifierEnabled = KeywordClassifierEnabled; VsfSettings.EscapeSeqHighlightEnabled = EscapeSeqHighlightEnabled; VsfSettings.RainbowTagsEnabled = RainbowTagsEnabled; VsfSettings.RainbowToolTipsEnabled = RainbowToolTipsEnabled; VsfSettings.RainbowHighlightMode = RainbowHighlightMode; VsfSettings.DevMarginEnabled = DevMarginEnabled; VsfSettings.AutoExpandRegions = AutoExpandRegions; VsfSettings.BoldAsItalicsEnabled = BoldAsItalicsEnabled; VsfSettings.ModelinesEnabled = ModelinesEnabled; VsfSettings.ModelinesNumLines = (int)ModelinesNumLines; VsfSettings.XmlnsPrefixHighlightEnabled = XmlnsPrefixHighlightEnabled; VsfSettings.XmlCloseTagHighlightEnabled = XmlCloseTagHighlightEnabled; VsfSettings.XmlMatchTagsEnabled = XmlMatchTagsEnabled; VsfSettings.Save(); }
public override void SaveSettingsToStorage() { base.SaveSettingsToStorage(); VsfSettings.TextObfuscationRegexes = dialog.Expressions.ListToJson(); VsfSettings.Save(); }
private void OnCloseButtonClick(object sender, RoutedEventArgs e) { VsfSettings.DevMarginEnabled = false; VsfSettings.Save(); e.Handled = true; }