From ea0bdda3b54818e2f2a925ae3bdcc7d34ca68077 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Tue, 23 Aug 2022 19:31:02 +0800 Subject: [PATCH] ctlIME // Patch committed contents in SCPC mode. --- Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift b/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift index 608e6958..97467fc3 100644 --- a/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift +++ b/Source/Modules/ControllerModules/ctlInputMethod_Delegates.swift @@ -126,7 +126,7 @@ extension ctlInputMethod: ctlCandidateDelegate { let inputting = keyHandler.buildInputtingState if mgrPrefs.useSCPCTypingMode { - handle(state: InputState.Committing(textToCommit: inputting.composingBuffer)) + handle(state: InputState.Committing(textToCommit: inputting.composingBufferConverted)) // 此時是逐字選字模式,所以「selectedValue.1」是單個字、不用追加處理。 if mgrPrefs.associatedPhrasesEnabled, let associatePhrases = keyHandler.buildAssociatePhraseState(