diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-05-25 16:01:48 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-05-25 16:01:48 +0000 |
commit | 3cf01ebabf08ed5547f657869e4f453f6cb3f65a (patch) | |
tree | 78873c11ebf2d06b451ac5fbb19747e50e73bcc2 /Source/CMTextView.m | |
parent | 6c97955139cc9dd158e600113af5cff838aa24b7 (diff) | |
download | sequelpro-3cf01ebabf08ed5547f657869e4f453f6cb3f65a.tar.gz sequelpro-3cf01ebabf08ed5547f657869e4f453f6cb3f65a.tar.bz2 sequelpro-3cf01ebabf08ed5547f657869e4f453f6cb3f65a.zip |
• improved narrow-down completion
- if suggestion list contains a space add a space to the allowed textual input characters if not a space closes the pull-down list
- some minor fine-tuning
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r-- | Source/CMTextView.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m index f2b80a16..c147678a 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -237,7 +237,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) NSString* filter = [[self string] substringWithRange:[self getRangeForCurrentWord]]; NSString* prefix = @""; - NSString* allow = @" _."; // additional chars which not close the popup + NSString* allow = @"_."; // additional chars which not close the popup BOOL caseInsensitive = YES; SPNarrowDownCompletion* completionPopUp = [[SPNarrowDownCompletion alloc] initWithItems:[self suggestionsForSQLCompletionWith:filter dictMode:isDictMode] |