From a6542df9bc08a5c89cfb4db80dc65139858f319b Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sat, 25 Mar 2023 20:13:09 +0800 Subject: [PATCH] InputHandler // Also update marker when previewing candidates. --- Source/Modules/InputHandler_Core.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Modules/InputHandler_Core.swift b/Source/Modules/InputHandler_Core.swift index 538aa007..38ebd031 100644 --- a/Source/Modules/InputHandler_Core.swift +++ b/Source/Modules/InputHandler_Core.swift @@ -428,6 +428,7 @@ public class InputHandler: InputHandlerProtocol { let inputting = generateStateOfInputting(sansReading: true) theState.data.displayTextSegments = inputting.data.displayTextSegments theState.data.cursor = inputting.cursor + theState.data.marker = inputting.marker delegate.state = theState // 直接就地取代,不經過 switchState 處理,免得選字窗被重新載入。 delegate.setInlineDisplayWithCursor() if delegate.clientMitigationLevel >= 2, theState.hasComposition {