aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-01-21 23:40:01 +0000
committerBibiko <bibiko@eva.mpg.de>2010-01-21 23:40:01 +0000
commit2080300649b3d4f68a0aac0a72dcb6479a3cba13 (patch)
tree84ff5243da40d063b77475ea4621a8723ee89629 /Source/CMTextView.m
parent7231dc45410e48621d2e67e77b8326e1210b2ae7 (diff)
downloadsequelpro-2080300649b3d4f68a0aac0a72dcb6479a3cba13.tar.gz
sequelpro-2080300649b3d4f68a0aac0a72dcb6479a3cba13.tar.bz2
sequelpro-2080300649b3d4f68a0aac0a72dcb6479a3cba13.zip
• updated/added syntax highlighting tokens and completion suggestions
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m19
1 files changed, 18 insertions, 1 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index 45f6f8e3..b64c07a0 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -1492,6 +1492,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"FAST",
@"FETCH",
@"FIELDS",
+ @"FIELDS TERMINATED BY",
@"FILE",
@"FIRST",
@"FIXED",
@@ -1500,9 +1501,10 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"FLOAT8",
@"FLUSH",
@"FOR",
+ @"FOR UPDATE",
@"FORCE",
- @"FOREIGN KEY",
@"FOREIGN",
+ @"FOREIGN KEY",
@"FOUND",
@"FRAC_SECOND",
@"FROM",
@@ -1516,6 +1518,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"GRANT",
@"GRANTS",
@"GROUP",
+ @"GROUP BY",
@"HANDLER",
@"HASH",
@"HAVING",
@@ -1553,6 +1556,9 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"INTEGER",
@"INTERVAL",
@"INTO",
+ @"INTO DUMPFILE",
+ @"INTO OUTFILE",
+ @"INTO TABLE",
@"INVOKER",
@"IO_THREAD",
@"IS",
@@ -1576,14 +1582,17 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"LIMIT",
@"LINEAR",
@"LINES",
+ @"LINES TERMINATED BY",
@"LINESTRING",
@"LIST",
@"LOAD DATA",
@"LOAD INDEX INTO CACHE",
+ @"LOAD XML",
@"LOCAL",
@"LOCALTIME",
@"LOCALTIMESTAMP",
@"LOCK",
+ @"LOCK IN SHARE MODE",
@"LOCK TABLES",
@"LOCKS",
@"LOGFILE",
@@ -1666,6 +1675,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"OPTIMIZE TABLE",
@"OPTION",
@"OPTIONALLY",
+ @"OPTIONALLY ENCLOSED BY",
@"OPTIONS",
@"OR",
@"ORDER",
@@ -1690,6 +1700,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"PRESERVE",
@"PREV",
@"PRIMARY",
+ @"PRIMARY KEY",
@"PRIVILEGES",
@"PROCEDURE",
@"PROCEDURE ANALYSE",
@@ -1745,6 +1756,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"ROUTINE",
@"ROW",
@"ROWS",
+ @"ROWS IDENTIFIED BY"
@"ROW_FORMAT",
@"RTREE",
@"SAVEPOINT",
@@ -1756,12 +1768,15 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"SECOND_MICROSECOND",
@"SECURITY",
@"SELECT",
+ @"SELECT DISTINCT",
@"SENSITIVE",
@"SEPARATOR",
@"SERIAL",
@"SERIALIZABLE",
@"SESSION",
@"SET",
+ @"SET GLOBAL",
+ @"SET NAMES",
@"SET PASSWORD",
@"SHARE",
@"SHOW",
@@ -1785,6 +1800,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"SHOW ERRORS",
@"SHOW EVENTS",
@"SHOW FIELDS",
+ @"SHOW FULL PROCESSLIST",
@"SHOW FUNCTION CODE",
@"SHOW FUNCTION STATUS",
@"SHOW GRANTS",
@@ -1934,6 +1950,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
@"WHERE",
@"WHILE",
@"WITH",
+ @"WITH CONSISTENT SNAPSHOT",
@"WORK",
@"WRITE",
@"X509",