From 4986ca35d6cb5c51605001f9dda39c4255067a45 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 1 Dec 2015 09:54:03 +1100 Subject: Undo virtual spaces in one step at start of IME composition. --- src/Editor.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index 4f53d1e99..742fb41d4 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1956,6 +1956,8 @@ void Editor::AddCharUTF(const char *s, unsigned int len, bool treatAsDBCS) { void Editor::ClearBeforeTentativeStart() { // Make positions for the first composition string. + FilterSelections(); + UndoGroup ug(pdoc, (sel.Count() > 1) || !sel.Empty() || inOverstrike); for (size_t r = 0; r