diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-01-15 14:56:10 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-01-15 14:56:10 +0000 |
commit | 8e840dd2b0e8a5c90e473b0e770dadcef9cb23a1 (patch) | |
tree | 0b590d3af5ba8501a2d41ebab6967abaf329f48a /Source/SPNarrowDownCompletion.h | |
parent | 465ebcfd614ff0623c67983fb960d334fb0c2ccc (diff) | |
download | sequelpro-8e840dd2b0e8a5c90e473b0e770dadcef9cb23a1.tar.gz sequelpro-8e840dd2b0e8a5c90e473b0e770dadcef9cb23a1.tar.bz2 sequelpro-8e840dd2b0e8a5c90e473b0e770dadcef9cb23a1.zip |
• refactored parsing code for F5 completion
- improved ⇧↩ insertion
- improved backtick behaviour
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r-- | Source/SPNarrowDownCompletion.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h index c01c5880..88e76567 100644 --- a/Source/SPNarrowDownCompletion.h +++ b/Source/SPNarrowDownCompletion.h @@ -44,10 +44,10 @@ BOOL caseSensitive; BOOL dictMode; BOOL dbStructureMode; - BOOL backtickMode; + NSInteger backtickMode; NSFont *tableFont; NSRange theCharRange; - NSRange theInitRange; + NSRange theParseRange; NSArray *words; id theView; @@ -56,9 +56,9 @@ - (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix additionalWordCharacters:(NSString*)someAdditionalWordCharacters caseSensitive:(BOOL)isCaseSensitive - charRange:(NSRange)initRange inView:(id)aView + charRange:(NSRange)initRange parseRange:(NSRange)parseRange inView:(id)aView dictMode:(BOOL)mode dbMode:(BOOL)theDbMode - backtickMode:(BOOL)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName selectedDb:(NSString*)selectedDb; + backtickMode:(NSInteger)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName selectedDb:(NSString*)selectedDb; - (void)setCaretPos:(NSPoint)aPos; - (void)insert_text:(NSString* )aString; |