diff options
| author | Neil <nyamatongwe@gmail.com> | 2014-12-05 20:36:01 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2014-12-05 20:36:01 +1100 |
| commit | bfad851459cb44308d42b5889b6495c986a19438 (patch) | |
| tree | 4c8938ce3aed03d21064f1142e0a3476ed0a0a55 /gtk/ScintillaGTK.cxx | |
| parent | 78d0e65c891fc0c995093e8e3a535fccc3e09251 (diff) | |
| download | scintilla-mirror-bfad851459cb44308d42b5889b6495c986a19438.tar.gz | |
Extract FillVirtualSpace so it is not repeated and can be made less complex in
the future.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index bc3d00952..d5d0622da 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2405,10 +2405,7 @@ void ScintillaGTK::PreeditChangedThis() { } else { // No tentative undo means start of this composition so // fill in any virtual spaces. - bool tmpOverstrike = inOverstrike; - inOverstrike = false; // Not allowed to be deleted twice. - AddCharUTF("", 0); - inOverstrike = tmpOverstrike; + FillVirtualSpace(); } PreEditString utfval(im_context); |
