From 93d3bffd60227407130f637c1237f20f9abd5311 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 7 Feb 2025 17:17:56 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20spellcheck=20the=20preedit=20if?= =?UTF-8?q?=20the=20top=20priority=20input=20method=20is=20Japanese=20or?= =?UTF-8?q?=20Chinese?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/624 --- engine/hunspell_table.py | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/hunspell_table.py b/engine/hunspell_table.py index b2b4f042..2b094661 100644 --- a/engine/hunspell_table.py +++ b/engine/hunspell_table.py @@ -2444,6 +2444,7 @@ def _add_color_to_attrs_for_spellcheck( ''' if (self._typed_compose_sequence or self._m17n_trans_parts.candidates + or self.get_current_imes()[0][:2] in ('zh', 'ja') or not self._color_preedit_spellcheck): return stripped_text = itb_util.strip_token(text)