diff options
author | rowanbeentje <rowan@beent.je> | 2009-04-03 00:08:28 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-04-03 00:08:28 +0000 |
commit | b7a565dd0196dcd77143874b27162d4300182019 (patch) | |
tree | 732ef42200affccae1a92d86aeadb49d63f52e7f /Source/CMTextView.h | |
parent | 6e4d0662303ecd6b3f953ff3313965835a9b8074 (diff) | |
download | sequelpro-b7a565dd0196dcd77143874b27162d4300182019.tar.gz sequelpro-b7a565dd0196dcd77143874b27162d4300182019.tar.bz2 sequelpro-b7a565dd0196dcd77143874b27162d4300182019.zip |
- Add the ability for CMTextView to automatically capitalise SQL keywords in the text view, currently off by default but saved from preferences. Thanks again to Hans-Jörg Bibiko for this patch; see Issue #218.
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r-- | Source/CMTextView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h index 4dadb33d..cec4c67b 100644 --- a/Source/CMTextView.h +++ b/Source/CMTextView.h @@ -27,6 +27,7 @@ BOOL autoindentEnabled; BOOL autopairEnabled; BOOL autoindentIgnoresEnter; + BOOL autouppercaseKeywordsEnabled; } - (BOOL) isNextCharMarkedBy:(id)attribute; @@ -42,5 +43,7 @@ - (BOOL) autoindentIgnoresEnter; - (void) setAutopair:(BOOL)enableAutopair; - (BOOL) autopair; +- (void) setAutouppercaseKeywords:(BOOL)enableAutouppercaseKeywords; +- (BOOL) autouppercaseKeywords; @end |