aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-01-21 20:39:15 +0000
committerBibiko <bibiko@eva.mpg.de>2010-01-21 20:39:15 +0000
commita395bb3a9501daa387b8e0c5a3a2959033d3450b (patch)
tree56adbc23aab2e86d8fd0dec7983b418d80286366 /Source/CMTextView.m
parent0d1fff4494127c5676067c2c9bef597e7bc0ca94 (diff)
downloadsequelpro-a395bb3a9501daa387b8e0c5a3a2959033d3450b.tar.gz
sequelpro-a395bb3a9501daa387b8e0c5a3a2959033d3450b.tar.bz2
sequelpro-a395bb3a9501daa387b8e0c5a3a2959033d3450b.zip
• tiny undo improvement for completion
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index 036d221b..45f6f8e3 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -823,6 +823,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
long curFlags = ([theEvent modifierFlags] & allFlags);
if ([theEvent keyCode] == 53){ // ESC key for internal completion
+ [self breakUndoCoalescing];
if(curFlags==(NSControlKeyMask))
[self doCompletionByUsingSpellChecker:NO fuzzyMode:YES];
else