aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorTokens.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-07 22:27:29 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-07 22:27:29 +0000
commitdaa8f9af6ab131b0e0e3b6cabda1e194841aa78a (patch)
tree5b68a12e8fb31d099210d6f384f4d433c8c19978 /Source/SPEditorTokens.h
parentf541505474502acb111756c0ab6160d541ac5903 (diff)
downloadsequelpro-daa8f9af6ab131b0e0e3b6cabda1e194841aa78a.tar.gz
sequelpro-daa8f9af6ab131b0e0e3b6cabda1e194841aa78a.tar.bz2
sequelpro-daa8f9af6ab131b0e0e3b6cabda1e194841aa78a.zip
• optimized syntax highlighting a bit
• added syntax highlighting for numeric values • changed syntax highlighting for 'order' and 'group' to 'order by' resp. 'group by' (useful also for visual syntax checking while typing) • fixed the issue to highlight a keyword if that keyword is the name a variable (e.g. @set := 1)
Diffstat (limited to 'Source/SPEditorTokens.h')
-rw-r--r--Source/SPEditorTokens.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPEditorTokens.h b/Source/SPEditorTokens.h
index 1d854e10..e4c8cc6b 100644
--- a/Source/SPEditorTokens.h
+++ b/Source/SPEditorTokens.h
@@ -14,4 +14,5 @@
#define SPT_COMMENT 5
#define SPT_WHITESPACE 6
#define SPT_WORD 7
-#define SPT_OTHER 8 \ No newline at end of file
+#define SPT_OTHER 8
+#define SPT_NUMERIC 9