From 95cdd4521e928fbb41c12066d5b77d7b025e7215 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 25 Jun 2009 13:16:40 +0000 Subject: =?UTF-8?q?=E2=80=A2=20trial=20to=20improve=20the=20Undo=20behavio?= =?UTF-8?q?ur=20in=20the=20Custom=20Query=20editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CMTextView.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]; -- cgit v1.2.3