aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index 886df5a6..2bc01fcd 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -922,6 +922,9 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
&& currentSnippetIndex <= snippetControlMax
)
{
+
+ [self breakUndoCoalescing];
+
// Place the caret at the end of the query favorite snippet
// and finish snippet editing
if(currentSnippetIndex == snippetControlMax) {