aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 62deb15d..b536491b 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -283,7 +283,10 @@
// "Completion List" menu item - used to autocomplete. Uses a different shortcut to avoid the menu button flickering
// on normal autocomplete usage.
if (sender == completionListMenuItem) {
- [textView complete:self];
+ if([[NSApp currentEvent] modifierFlags] & (NSControlKeyMask))
+ [textView doCompletionByUsingSpellChecker:NO fuzzyMode:YES];
+ else
+ [textView doCompletionByUsingSpellChecker:NO fuzzyMode:NO];
}
// "Editor font..." menu item to bring up the font panel