From 105c58b90dafed148d2daaed7b3eea99922fc97b Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 30 Jun 2022 22:02:06 +0800 Subject: [PATCH] KeyHandler // handleBackspace -> handleBackSpace. --- Source/Modules/ControllerModules/KeyHandler_HandleInput.swift | 2 +- Source/Modules/ControllerModules/KeyHandler_States.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift b/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift index 850921a2..bfb9d319 100644 --- a/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift +++ b/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift @@ -365,7 +365,7 @@ extension KeyHandler { // MARK: Backspace if input.isBackSpace { - return handleBackspace(state: state, stateCallback: stateCallback, errorCallback: errorCallback) + return handleBackSpace(state: state, stateCallback: stateCallback, errorCallback: errorCallback) } // MARK: Delete diff --git a/Source/Modules/ControllerModules/KeyHandler_States.swift b/Source/Modules/ControllerModules/KeyHandler_States.swift index 49dacb0e..fa28c65c 100644 --- a/Source/Modules/ControllerModules/KeyHandler_States.swift +++ b/Source/Modules/ControllerModules/KeyHandler_States.swift @@ -430,7 +430,7 @@ extension KeyHandler { /// - stateCallback: 狀態回呼。 /// - errorCallback: 錯誤回呼。 /// - Returns: 將按鍵行為「是否有處理掉」藉由 ctlInputMethod 回報給 IMK。 - func handleBackspace( + func handleBackSpace( state: InputStateProtocol, stateCallback: @escaping (InputStateProtocol) -> Void, errorCallback: @escaping () -> Void