diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-07 22:07:58 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-07 22:07:58 +0000 |
commit | ee8c83d433d0351dffda4ce273e3d1278154f769 (patch) | |
tree | 04839edbaf31f4cf9c598dce58e24d65448f6472 /Source/SPNarrowDownCompletion.h | |
parent | fb4e3024ae282b557eef755b974c3e081dac0f3e (diff) | |
download | sequelpro-ee8c83d433d0351dffda4ce273e3d1278154f769.tar.gz sequelpro-ee8c83d433d0351dffda4ce273e3d1278154f769.tar.bz2 sequelpro-ee8c83d433d0351dffda4ce273e3d1278154f769.zip |
• added to CustomQuery's CMTextView the option to set auto-completion on/off, settable in Prefs and gear menu
- if inserted completion is marked as function it inserts snippet (${}1:) so far; function parameters as snippets follows soon
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r-- | Source/SPNarrowDownCompletion.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h index 96558b9d..6901ffa1 100644 --- a/Source/SPNarrowDownCompletion.h +++ b/Source/SPNarrowDownCompletion.h @@ -49,6 +49,7 @@ BOOL noFilterString; BOOL cursorMovedLeft; BOOL commaInsertionMode; + BOOL autoCompletionMode; NSInteger backtickMode; NSFont *tableFont; NSRange theCharRange; @@ -68,7 +69,7 @@ charRange:(NSRange)initRange parseRange:(NSRange)parseRange inView:(id)aView dictMode:(BOOL)mode dbMode:(BOOL)theDbMode tabTriggerMode:(BOOL)tabTriggerMode fuzzySearch:(BOOL)fuzzySearch backtickMode:(NSInteger)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName - selectedDb:(NSString*)selectedDb caretMovedLeft:(BOOL)caretMovedLeft; + selectedDb:(NSString*)selectedDb caretMovedLeft:(BOOL)caretMovedLeft autoComplete:(BOOL)autoComplete; - (void)setCaretPos:(NSPoint)aPos; - (void)insert_text:(NSString* )aString; - (void)insertCommonPrefix; |