From a7d27c465a197426032467c9e131d88bfdd86009 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Wed, 24 Aug 2022 10:11:06 +0800 Subject: [PATCH] ctlIME // +consolidateContextOnCandidateSelection. --- .../Modules/ControllerModules/ctlInputMethod_Delegates.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift b/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift index 97467fc3..ce1397af 100644 --- a/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift +++ b/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift @@ -121,7 +121,10 @@ extension ctlInputMethod: ctlCandidateDelegate { if let state = state as? InputState.ChoosingCandidate { let selectedValue = state.candidates[index] - keyHandler.fixNode(candidate: selectedValue, respectCursorPushing: true, preConsolidate: true) + keyHandler.fixNode( + candidate: selectedValue, respectCursorPushing: true, + preConsolidate: mgrPrefs.consolidateContextOnCandidateSelection + ) let inputting = keyHandler.buildInputtingState