From b44a8d1a592d0e94c949d411fac38a68e42ba945 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Fri, 10 Mar 2023 13:22:33 +0800 Subject: [PATCH] SessionCtl // Implement candidatePairHighlightChanged(). --- Source/Modules/SessionCtl_Delegates.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Modules/SessionCtl_Delegates.swift b/Source/Modules/SessionCtl_Delegates.swift index 904d9443..c73c10cd 100644 --- a/Source/Modules/SessionCtl_Delegates.swift +++ b/Source/Modules/SessionCtl_Delegates.swift @@ -108,7 +108,9 @@ extension SessionCtl: CtlCandidateDelegate { return convertedCandidates } - public func candidatePairHighlightChanged(at _: Int) {} + public func candidatePairHighlightChanged(at theIndex: Int) { + inputHandler?.previewCompositionBufferForCandidate(at: theIndex) + } public func candidatePairSelectionConfirmed(at index: Int) { guard let inputHandler = inputHandler else { return }