From 38b0478d39ac5fc821f8cf6ae6f7ea2af8e031b1 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Wed, 6 Jul 2022 11:31:12 +0800 Subject: [PATCH] ctlIME // Move ctlCandidateCurrent into ctlInputMethod. --- Source/Modules/ControllerModules/ctlInputMethod_Core.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Modules/ControllerModules/ctlInputMethod_Core.swift b/Source/Modules/ControllerModules/ctlInputMethod_Core.swift index 91265975..b4cd31bb 100644 --- a/Source/Modules/ControllerModules/ctlInputMethod_Core.swift +++ b/Source/Modules/ControllerModules/ctlInputMethod_Core.swift @@ -27,9 +27,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. import Cocoa import InputMethodKit -/// 目前在用的的選字窗副本。 -private var ctlCandidateCurrent = ctlCandidateUniversal.init(.horizontal) - /// 輸入法控制模組,乃在輸入法端用以控制輸入行為的基礎型別。 /// /// IMKInputController 完全實現了相關協定所定義的內容。 @@ -43,6 +40,9 @@ class ctlInputMethod: IMKInputController { /// 標記狀態來聲明目前是在新增使用者語彙、還是準備要濾除使用者語彙。 static var areWeDeleting = false + /// 目前在用的的選字窗副本。 + private var ctlCandidateCurrent = ctlCandidateUniversal.init(.horizontal) + /// 工具提示視窗的副本。 static let tooltipController = TooltipController()