From 8a0690bf54d3ba6297763612aa478646b7ca75d9 Mon Sep 17 00:00:00 2001
From: WMJ <wmj@live.cn>
Date: Sun, 24 May 2020 10:11:51 +0800
Subject: [PATCH] - Fixed syntax highlight settings could not be cancelled
 after loading themes

---
 Codist/Config.cs | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Codist/Config.cs b/Codist/Config.cs
index 75c5fe06..c39ad6ed 100644
--- a/Codist/Config.cs
+++ b/Codist/Config.cs
@@ -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());
@@ -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));
 		}