diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-05-02 21:37:33 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-05-02 21:37:33 +0000 |
commit | 62f46ff751c551aa07594f0f5ef19f80ce7b83f0 (patch) | |
tree | 5600a4dfb64c98db8e2e5b2d198691a0262ede0f /Source/SPEditorTokens.h | |
parent | 49d3909683d5067ee6b912a37e7af23ab97d057e (diff) | |
download | sequelpro-62f46ff751c551aa07594f0f5ef19f80ce7b83f0.tar.gz sequelpro-62f46ff751c551aa07594f0f5ef19f80ce7b83f0.tar.bz2 sequelpro-62f46ff751c551aa07594f0f5ef19f80ce7b83f0.zip |
• improved completion in CQ's text view
- added database names
- fixed logic for detecting if caret is inside quotes
- if caret inside backticks show only db, table, column names
• outsourced syntax highlighting into a method for further improvements
Diffstat (limited to 'Source/SPEditorTokens.h')
-rw-r--r-- | Source/SPEditorTokens.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPEditorTokens.h b/Source/SPEditorTokens.h index 44d0340f..65aba747 100644 --- a/Source/SPEditorTokens.h +++ b/Source/SPEditorTokens.h @@ -9,9 +9,9 @@ #define SPT_DOUBLE_QUOTED_TEXT 1 #define SPT_SINGLE_QUOTED_TEXT 2 -#define SPT_BACKTICK_QUOTED_TEXT 3 -#define SPT_RESERVED_WORD 4 -#define SPT_COMMENT 5 +#define SPT_COMMENT 3 +#define SPT_BACKTICK_QUOTED_TEXT 4 +#define SPT_RESERVED_WORD 5 #define SPT_WHITESPACE 6 #define SPT_WORD 7 #define SPT_OTHER 8 |