aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-04-07 16:04:35 +0000
committerBibiko <bibiko@eva.mpg.de>2010-04-07 16:04:35 +0000
commitc58984f7fb82a089bdc508f0bdf7dc6df89cb979 (patch)
treea38500ce609ad7f363202779ffec2d43d29b84e1 /Source/CMTextView.m
parentb5ade8a12cea34738d89508cb04d0cdfaf1174a9 (diff)
downloadsequelpro-c58984f7fb82a089bdc508f0bdf7dc6df89cb979.tar.gz
sequelpro-c58984f7fb82a089bdc508f0bdf7dc6df89cb979.tar.bz2
sequelpro-c58984f7fb82a089bdc508f0bdf7dc6df89cb979.zip
Tried to fine-tune the auto-completion behaviour esp. for automatically inserted suggestions and increased the minimum auto-complete delay to 0.5s since below that a fight between computer speed and user typing speed could occur.
This addresses i625.
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index 0a753007..75839bc8 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -791,8 +791,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
[completionPopUp setCaretPos:pos];
[completionPopUp orderFront:self];
- if(!autoCompleteMode)
- [completionPopUp insertCommonPrefix];
+ [completionPopUp insertCommonPrefix];
}