aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-06-29 11:42:13 +1000
committerNeil <nyamatongwe@gmail.com>2019-06-29 11:42:13 +1000
commit70f71bdbb2ba9da03cbfb3b7af0b5e2c2a447b3e (patch)
treeb73c0634ba7712b0c00fe070b50d94322f096fd5
parent704c13fad8df333aef9f813d9dee9b41b43316d5 (diff)
downloadscintilla-mirror-70f71bdbb2ba9da03cbfb3b7af0b5e2c2a447b3e.tar.gz
Bug [#2111]. Retracted change to IME on GTK.
Backed out changeset: 512ec9ab2e7c
-rw-r--r--doc/ScintillaHistory.html4
-rw-r--r--gtk/ScintillaGTK.cxx7
2 files changed, 0 insertions, 11 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 61ac8e80d..27afa47b3 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -602,10 +602,6 @@
Fix position of line caret when overstrike caret set to block.
<a href="https://sourceforge.net/p/scintilla/bugs/2106/">Bug #2106</a>.
</li>
- <li>
- On GTK, reset IME when mouse is clicked.
- <a href="https://sourceforge.net/p/scintilla/bugs/2111/">Bug #2111</a>.
- </li>
</ul>
<h3>
<a href="https://www.scintilla.org/scite417.zip">Release 4.1.7</a>
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 424b4171d..3b1972880 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1727,16 +1727,9 @@ gint ScintillaGTK::PressThis(GdkEventButton *event) {
if (event->type != GDK_BUTTON_PRESS)
return FALSE;
- if (im_context) {
- PreEditString pes(im_context);
- if (strlen(pes.str) > 0)
- gtk_im_context_reset(im_context);
- }
-
if (evbtn) {
gdk_event_free(evbtn);
}
-
evbtn = gdk_event_copy(reinterpret_cast<GdkEvent *>(event));
buttonMouse = event->button;
const Point pt = PointOfEvent(event);