diff options
| -rw-r--r-- | doc/ScintillaHistory.html | 5 | ||||
| -rwxr-xr-x | gtk/ScintillaGTK.cxx | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index bbc9c826d..3c8172f40 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -583,6 +583,11 @@ On Win32, remove support for CF_TEXT clipboard format as Windows will convert to CF_UNICODETEXT. </li> + <li> + Improve IME behaviour on GTK. + Set candidate position for windowed IME. + <a href="https://sourceforge.net/p/scintilla/bugs/2135/">Bug #2135</a>. + </li> </ul> <h3> <a href="https://sourceforge.net/projects/scintilla/files/scintilla/3.11.2/scintilla3112.zip/download">Release 3.11.2</a> diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 84b073ca3..144942fe8 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2432,6 +2432,8 @@ void ScintillaGTK::PreeditChangedWindowedThis() { try { PreEditString pes(im_context); if (strlen(pes.str) > 0) { + SetCandidateWindowPos(); + PangoLayout *layout = gtk_widget_create_pango_layout(PWidget(wText), pes.str); pango_layout_set_attributes(layout, pes.attrs); |
