aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-05-24 13:47:57 +0000
committerBibiko <bibiko@eva.mpg.de>2009-05-24 13:47:57 +0000
commit99e4d0223293aee1acd6b4196263385a9e6a7ecc (patch)
tree0cc5a471811fbc1853cae2a088bee750f0876266 /Source/SPNarrowDownCompletion.h
parent5e2eb0be79f6f572724132f8be88069f8daac926 (diff)
downloadsequelpro-99e4d0223293aee1acd6b4196263385a9e6a7ecc.tar.gz
sequelpro-99e4d0223293aee1acd6b4196263385a9e6a7ecc.tar.bz2
sequelpro-99e4d0223293aee1acd6b4196263385a9e6a7ecc.zip
• activate Preference setting for caret color
• added prototype for new completion (ESC -> Cocoa, F5 -> new completion) - not yet finished - TODO: -- support for NSSpellChecker items -- images for different types of suggestions like proc/func/tabkle/view/sql statement, db name, etc.
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r--Source/SPNarrowDownCompletion.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h
index baabb240..15176cf6 100644
--- a/Source/SPNarrowDownCompletion.h
+++ b/Source/SPNarrowDownCompletion.h
@@ -50,6 +50,7 @@
BOOL isAbove;
BOOL closeMe;
BOOL caseSensitive;
+ BOOL dictMode;
NSFont *tableFont;
NSRange theCharRange;
id theView;
@@ -58,7 +59,7 @@
}
-- (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix additionalWordCharacters:(NSString*)someAdditionalWordCharacters caseSensitive:(BOOL)isCaseSensitive charRange:(NSRange)initRange inView:(id)aView;
+- (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;
- (void)setCaretPos:(NSPoint)aPos;
- (void)insert_text:(NSString* )aString;