コード例 #1
0
 public override void SaveSettingsToStorage()
 {
     base.SaveSettingsToStorage();
     language.ControlFlow = ControlFlowKeywords.ToArray();
     language.Linq        = LinqKeywords.ToArray();
     VsfSettings.Save();
 }
コード例 #2
0
 public override void SaveSettingsToStorage()
 {
     base.SaveSettingsToStorage();
     VsfSettings.TextCompletionEnabled  = TextCompletionEnabled;
     VsfSettings.TCCompleteDuringTyping = CompleteDuringTyping;
     VsfSettings.TCHandleCompleteWord   = HandleCompleteWord;
     VsfSettings.Save();
 }
コード例 #3
0
 public override void SaveSettingsToStorage()
 {
     base.SaveSettingsToStorage();
     VsfSettings.PresentationModeEnabled          = dialog.PMEnabled;
     VsfSettings.PresentationModeDefaultZoomLevel = dialog.DefaultZoom;
     VsfSettings.PresentationModeEnabledZoomLevel = dialog.EnabledZoom;
     VsfSettings.Save();
 }
コード例 #4
0
ファイル: GeneralOptionsPage.cs プロジェクト: xwiz/viasfora
 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();
 }
コード例 #5
0
 public override void SaveSettingsToStorage()
 {
     base.SaveSettingsToStorage();
     VsfSettings.TextObfuscationRegexes = dialog.Expressions.ListToJson();
     VsfSettings.Save();
 }
コード例 #6
0
 private void OnCloseButtonClick(object sender, RoutedEventArgs e)
 {
     VsfSettings.DevMarginEnabled = false;
     VsfSettings.Save();
     e.Handled = true;
 }