aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
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.m
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.m')
-rw-r--r--Source/SPNarrowDownCompletion.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index 19d20ead..10988241 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -115,7 +115,7 @@
[super dealloc];
}
-- (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
{
if(self = [self init])
{
@@ -133,6 +133,7 @@
caseSensitive = isCaseSensitive;
theCharRange = initRange;
theView = aView;
+ dictMode = mode;
}
return self;
}