aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-01-13 16:28:24 +0000
committerBibiko <bibiko@eva.mpg.de>2010-01-13 16:28:24 +0000
commit6395ddc26e0d2c3fde5b26568b70a390e4b5f152 (patch)
treef3db8d0d49c078504e2758dcd0e1a8f17c2a1b47 /Source/SPNarrowDownCompletion.h
parent79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72 (diff)
downloadsequelpro-6395ddc26e0d2c3fde5b26568b70a390e4b5f152.tar.gz
sequelpro-6395ddc26e0d2c3fde5b26568b70a390e4b5f152.tar.bz2
sequelpro-6395ddc26e0d2c3fde5b26568b70a390e4b5f152.zip
• F5 compeltion
- fixed issues if no db is selected - trial: ⇧↩ inserts the entire path db.table or db.table.field; if invoked inside of backticks backticked
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r--Source/SPNarrowDownCompletion.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h
index f1d4e63c..c01c5880 100644
--- a/Source/SPNarrowDownCompletion.h
+++ b/Source/SPNarrowDownCompletion.h
@@ -35,6 +35,7 @@
NSArray* suggestions;
NSMutableString* mutablePrefix;
NSString* staticPrefix;
+ NSString* currentDb;
NSArray* filtered;
NSTableView* theTableView;
NSPoint caretPos;
@@ -46,6 +47,7 @@
BOOL backtickMode;
NSFont *tableFont;
NSRange theCharRange;
+ NSRange theInitRange;
NSArray *words;
id theView;
@@ -56,7 +58,7 @@
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;
+ backtickMode:(BOOL)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName selectedDb:(NSString*)selectedDb;
- (void)setCaretPos:(NSPoint)aPos;
- (void)insert_text:(NSString* )aString;