InputHandler // Also update marker when previewing candidates.
This commit is contained in:
parent
650dbc13c8
commit
a6542df9bc
|
@ -428,6 +428,7 @@ public class InputHandler: InputHandlerProtocol {
|
||||||
let inputting = generateStateOfInputting(sansReading: true)
|
let inputting = generateStateOfInputting(sansReading: true)
|
||||||
theState.data.displayTextSegments = inputting.data.displayTextSegments
|
theState.data.displayTextSegments = inputting.data.displayTextSegments
|
||||||
theState.data.cursor = inputting.cursor
|
theState.data.cursor = inputting.cursor
|
||||||
|
theState.data.marker = inputting.marker
|
||||||
delegate.state = theState // 直接就地取代,不經過 switchState 處理,免得選字窗被重新載入。
|
delegate.state = theState // 直接就地取代,不經過 switchState 處理,免得選字窗被重新載入。
|
||||||
delegate.setInlineDisplayWithCursor()
|
delegate.setInlineDisplayWithCursor()
|
||||||
if delegate.clientMitigationLevel >= 2, theState.hasComposition {
|
if delegate.clientMitigationLevel >= 2, theState.hasComposition {
|
||||||
|
|
Loading…
Reference in New Issue