From a20a9100b9b76caa23bd3889e13bde87e86cdbb7 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Fri, 12 Apr 2019 08:10:30 +1000 Subject: Bug [#2093]. Remove restrictions on IME input length. --- gtk/ScintillaGTK.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gtk') diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 524a8bb57..ff2b1ffdf 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2392,8 +2392,7 @@ void ScintillaGTK::PreeditChangedInlineThis() { return; } - if (preeditStr.uniStrLen == 0 || preeditStr.uniStrLen > maxLenInputIME) { - //fprintf(stderr, "Do not allow over 200 chars: %i\n", preeditStr.uniStrLen); + if (preeditStr.uniStrLen == 0) { ShowCaretAtCurrentPosition(); return; } -- cgit v1.2.3