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 | 4986ca35d6cb5c51605001f9dda39c4255067a45 (patch) | |
tree | e3a87f9bf20612ee1823d7b5b923bc3aa0445658 /src | |
parent | 5be905a1913a842f4c5226a57b0af4455bdfb61f (diff) | |
download | scintilla-mirror-4986ca35d6cb5c51605001f9dda39c4255067a45.tar.gz |
Undo virtual spaces in one step at start of IME composition.
Diffstat (limited to 'src')
-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())) { |