aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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