diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-01-13 15:02:09 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-01-13 15:02:09 +0000 |
commit | 79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72 (patch) | |
tree | 0da14eed0641ebab73db6fbe638107d502850669 /Source/SPNarrowDownCompletion.h | |
parent | bf772fc91f17883aa87778e3d5eab9e4171259c2 (diff) | |
download | sequelpro-79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72.tar.gz sequelpro-79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72.tar.bz2 sequelpro-79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72.zip |
• further improvements for F5 completion
- first steps for context-sensitive completion: parse left side of current word to look for db.table.field constructions
- eg type: mysql.user. and press F5
Note: work in progress :)
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r-- | Source/SPNarrowDownCompletion.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h index 1a0359eb..f1d4e63c 100644 --- a/Source/SPNarrowDownCompletion.h +++ b/Source/SPNarrowDownCompletion.h @@ -43,6 +43,7 @@ BOOL caseSensitive; BOOL dictMode; BOOL dbStructureMode; + BOOL backtickMode; NSFont *tableFont; NSRange theCharRange; NSArray *words; @@ -51,7 +52,11 @@ NSMutableCharacterSet* textualInputCharacters; } -- (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix additionalWordCharacters:(NSString*)someAdditionalWordCharacters caseSensitive:(BOOL)isCaseSensitive charRange:(NSRange)initRange inView:(id)aView dictMode:(BOOL)mode dbMode:(BOOL)dbMode; +- (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix + additionalWordCharacters:(NSString*)someAdditionalWordCharacters caseSensitive:(BOOL)isCaseSensitive + charRange:(NSRange)initRange inView:(id)aView + dictMode:(BOOL)mode dbMode:(BOOL)theDbMode + backtickMode:(BOOL)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName; - (void)setCaretPos:(NSPoint)aPos; - (void)insert_text:(NSString* )aString; |