diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2017-08-04 09:04:19 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2017-08-04 09:04:19 +0300 |
commit | d8cbda04368636d7fd5974f98144092c181f19c7 (patch) | |
tree | a321b5f66156f43eead9093a0f079ac08989b2ca /main/src | |
parent | 46435b071bfdb30ef4829ac2120f9047fd03fb2b (diff) |
Fixed 'Bug 58576 - [VSFeedback Ticket] #438331 - "User Property
Declaration" key not working in custom text color theme'
Makes not really sense to check if the colors are equal - checking if
it exists is enough. If colors are equal then there are no visual
differences.
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/addins/CSharpBinding/MonoDevelop.CSharp.Highlighting/CSharpSyntaxMode.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Highlighting/CSharpSyntaxMode.cs b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Highlighting/CSharpSyntaxMode.cs index acf5920841..52379b8ad3 100644 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Highlighting/CSharpSyntaxMode.cs +++ b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Highlighting/CSharpSyntaxMode.cs @@ -257,7 +257,7 @@ namespace MonoDevelop.CSharp.Highlighting string CheckScopeExists (string color) { HslColor c; - if (!theme.TryGetColor (color, EditorThemeColors.Foreground, out c) || c.Equals (defaultColor)) + if (!theme.TryGetColor (color, EditorThemeColors.Foreground, out c)) return null; return color; } |