diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-01-21 00:00:36 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-01-21 00:00:36 +0000 |
commit | d6097cbbb95c78fa16b7bd0305a494186c5dd583 (patch) | |
tree | 051104bad253357df2036975e992786275e0a211 /Source/SPNarrowDownCompletion.h | |
parent | a485d370c24cb6378a52c3452dc0cdbadfefd50f (diff) | |
download | sequelpro-d6097cbbb95c78fa16b7bd0305a494186c5dd583.tar.gz sequelpro-d6097cbbb95c78fa16b7bd0305a494186c5dd583.tar.bz2 sequelpro-d6097cbbb95c78fa16b7bd0305a494186c5dd583.zip |
• completion enhancements
- TAB and mouse double-click inserts suggestion
- field type info for 'set' and 'enum' is fixed; in addition show an arrow to show the definition
- preparations for fuzzy search completion (not yet active)
- reduced the font size by 1pt to avoid truncating
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r-- | Source/SPNarrowDownCompletion.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h index 06f9264a..f8f12a83 100644 --- a/Source/SPNarrowDownCompletion.h +++ b/Source/SPNarrowDownCompletion.h @@ -44,12 +44,15 @@ BOOL caseSensitive; BOOL dictMode; BOOL dbStructureMode; + BOOL fuzzyMode; BOOL noFilterString; + BOOL cursorMovedLeft; NSInteger backtickMode; NSFont *tableFont; NSRange theCharRange; NSRange theParseRange; NSString *theDbName; + id theView; NSInteger maxWindowWidth; @@ -60,8 +63,9 @@ - (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix additionalWordCharacters:(NSString*)someAdditionalWordCharacters caseSensitive:(BOOL)isCaseSensitive charRange:(NSRange)initRange parseRange:(NSRange)parseRange inView:(id)aView - dictMode:(BOOL)mode dbMode:(BOOL)theDbMode - backtickMode:(NSInteger)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName selectedDb:(NSString*)selectedDb; + dictMode:(BOOL)mode dbMode:(BOOL)theDbMode fuzzySearch:(BOOL)fuzzySearch + backtickMode:(NSInteger)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName + selectedDb:(NSString*)selectedDb caretMovedLeft:(BOOL)caretMovedLeft; - (void)setCaretPos:(NSPoint)aPos; - (void)insert_text:(NSString* )aString; - (void)insertCommonPrefix; |