diff options
author | Neil <nyamatongwe@gmail.com> | 2015-12-01 09:54:03 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-12-01 09:54:03 +1100 |
commit | 960d4fb6b6582363867e73f1a0428b6eacf0d758 (patch) | |
tree | f6957c1850a3e24cade5ac37a696b98e4a22af11 | |
parent | 16736d3122a44a3a701e7b5e43f3ee077039b16c (diff) | |
download | scintilla-mirror-960d4fb6b6582363867e73f1a0428b6eacf0d758.tar.gz |
Undo virtual spaces in one step at start of IME composition.
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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<sel.Count(); r++) { if (!RangeContainsProtected(sel.Range(r).Start().Position(), sel.Range(r).End().Position())) { |