Skip to content

Commit

Permalink
- Fixed syntax highlight settings could not be cancelled after loadin…
Browse files Browse the repository at this point in the history
…g themes
  • Loading branch information
wmjordan committed May 24, 2020
1 parent 6785992 commit 8a0690b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Codist/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static void LoadConfig(string configPath, StyleFilters styleFilter = Styl
//TextEditorHelper.ResetStyleCache();
Loaded?.Invoke(Instance, EventArgs.Empty);
Updated?.Invoke(Instance, new ConfigUpdatedEventArgs(styleFilter != StyleFilters.None ? Features.SyntaxHighlight : Features.All));
Instance._ConfigManager?.MarkVersioned();
//Instance._ConfigManager?.MarkVersioned();
}
catch(Exception ex) {
Debug.WriteLine(ex.ToString());
Expand Down Expand Up @@ -288,9 +288,6 @@ internal void EndUpdate(bool apply) {
m.Quit(apply);
}
}
//internal void ResetUpdate() {
// _ConfigManager?.MarkVersioned();
//}
internal void FireConfigChangedEvent(Features updatedFeature) {
Updated?.Invoke(this, new ConfigUpdatedEventArgs(updatedFeature));
}
Expand Down

0 comments on commit 8a0690b

Please sign in to comment.