diff options
author | Zufu Liu <unknown> | 2020-01-06 23:20:29 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2020-01-06 23:20:29 +1100 |
commit | 8daffd01bafce7eca8400f2f2b60acdb7d76db5e (patch) | |
tree | 414500d699b97376d8aad3b80911f6f8c92ba398 /gtk/ScintillaGTK.cxx | |
parent | 6be5feeb0635f4b0c51cb59b2b4eacfb9efda69f (diff) | |
download | scintilla-mirror-8daffd01bafce7eca8400f2f2b60acdb7d76db5e.tar.gz |
Bug [#2135]. Prevent movement of candidate window while typing.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rwxr-xr-x | gtk/ScintillaGTK.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 33313b264..3560d517d 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2388,8 +2388,11 @@ void ScintillaGTK::PreeditChangedInlineThis() { return; } - if (initialCompose) + if (initialCompose) { ClearBeforeTentativeStart(); + } + + SetCandidateWindowPos(); pdoc->TentativeStart(); // TentativeActive() from now on std::vector<int> indicator = MapImeIndicators(preeditStr.attrs, preeditStr.str); @@ -2423,7 +2426,6 @@ void ScintillaGTK::PreeditChangedInlineThis() { } EnsureCaretVisible(); - SetCandidateWindowPos(); ShowCaretAtCurrentPosition(); } catch (...) { errorStatus = SC_STATUS_FAILURE; |