aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CMTextView.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index 5f5bc9be..32d881bf 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -693,7 +693,9 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
return;
}
}
-
+
+ // break down the undo grouping level for better undo behavior
+ [self breakUndoCoalescing];
// The default action is to perform the normal key-down action.
[super keyDown:theEvent];