Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2017-08-04 09:04:19 +0300
committerMike Krüger <mkrueger@xamarin.com>2017-08-04 09:04:19 +0300
commitd8cbda04368636d7fd5974f98144092c181f19c7 (patch)
treea321b5f66156f43eead9093a0f079ac08989b2ca /main
parent46435b071bfdb30ef4829ac2120f9047fd03fb2b (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')
-rw-r--r--main/src/addins/CSharpBinding/MonoDevelop.CSharp.Highlighting/CSharpSyntaxMode.cs2
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;
}