aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-25 13:16:40 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-25 13:16:40 +0000
commit95cdd4521e928fbb41c12066d5b77d7b025e7215 (patch)
treeeb0e2c3f240c2f21a98b9d41a9eb09b8354bd19f /Source
parent78eeb50b872b669f86c50a103ec351038fcf55a8 (diff)
downloadsequelpro-95cdd4521e928fbb41c12066d5b77d7b025e7215.tar.gz
sequelpro-95cdd4521e928fbb41c12066d5b77d7b025e7215.tar.bz2
sequelpro-95cdd4521e928fbb41c12066d5b77d7b025e7215.zip
• trial to improve the Undo behaviour in the Custom Query editor
Diffstat (limited to 'Source')
-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];