From 327b4015956c68f688e2ae1286e0c20220ee5504 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Fri, 3 Jun 2022 09:15:01 +0800 Subject: [PATCH] InputState // Exact Begin / End -> Literal Begin / End. --- .../ControllerModules/InputState.swift | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Source/Modules/ControllerModules/InputState.swift b/Source/Modules/ControllerModules/InputState.swift index a3d8ded7..eb5fcf6e 100644 --- a/Source/Modules/ControllerModules/InputState.swift +++ b/Source/Modules/ControllerModules/InputState.swift @@ -194,9 +194,9 @@ class InputState { ) } - let exactBegin = composingBuffer.charIndexLiteral(from: markedRange.lowerBound) - let exactEnd = composingBuffer.charIndexLiteral(from: markedRange.upperBound) - let selectedReadings = readings[exactBegin..