aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-08 11:47:55 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-08 11:47:55 +0000
commit20c2b12f092615aac112ec3f11f233b9d0d44c52 (patch)
treed09986010210a17acf9794ee93d915753fb727e9 /Source/CMTextView.m
parentdaa8f9af6ab131b0e0e3b6cabda1e194841aa78a (diff)
downloadsequelpro-20c2b12f092615aac112ec3f11f233b9d0d44c52.tar.gz
sequelpro-20c2b12f092615aac112ec3f11f233b9d0d44c52.tar.bz2
sequelpro-20c2b12f092615aac112ec3f11f233b9d0d44c52.zip
• syntax highlighting updated
- added highlighting for @vars
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index a1b6c9fe..336d3669 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -925,6 +925,7 @@ SYNTAX HIGHLIGHTING!
NSColor *keywordColor = [NSColor colorWithDeviceRed:0.200 green:0.250 blue:1.000 alpha:1.000];
NSColor *backtickColor = [NSColor colorWithDeviceRed:0.0 green:0.0 blue:0.658 alpha:1.000];
NSColor *numericColor = [NSColor colorWithDeviceRed:0.506 green:0.263 blue:0.0 alpha:1.000];
+ NSColor *variableColor = [NSColor colorWithDeviceRed:0.5 green:0.5 blue:0.5 alpha:1.000];
NSColor *tokenColor;
@@ -963,6 +964,9 @@ SYNTAX HIGHLIGHTING!
case SPT_COMMENT:
tokenColor = commentColor;
break;
+ case SPT_VARIABLE:
+ tokenColor = variableColor;
+ break;
default:
tokenColor = nil;
}