Example #1
0
 /// <summary>
 /// Saves the settings to storage
 /// </summary>
 public override void SaveSettingsToStorage()
 {
     if (FileSpecificIndentSizes is null)
     {
         FileSpecificIndentSizes = "";
     }
     if (Colors is null)
     {
         Colors = "";
     }
     if (ErrorColor is null)
     {
         ErrorColor = "";
     }
     ThreadHelper.ThrowIfNotOnUIThread();
     OptionsManager.SaveSettings(IndentSize,
                                 FileSpecificIndentSizes,
                                 Colors,
                                 OpacityMultiplier,
                                 HighlightingMode,
                                 ErrorColor,
                                 HighglightErrors);
 }
Example #2
0
 /// <summary>
 /// Saves the settings to storage
 /// </summary>
 public override void SaveSettingsToStorage()
 {
     ThreadHelper.ThrowIfNotOnUIThread();
     OptionsManager.SaveSettings(this.IndentSize, this.Colors);
 }