Repo // Comment updates.

This commit is contained in:
ShikiSuen 2022-10-22 11:27:09 +08:00
parent 9d51781eda
commit d5fbcf5e2c
8 changed files with 13 additions and 11 deletions

View File

@ -15,7 +15,7 @@ extension vChewingLM {
/// LangModelProtocol 使
///
///
/// LMI 調
/// LMI 調
/// LMI
///
///

View File

@ -11,7 +11,7 @@ import Megrez
import Shared
import Tekkon
/// 調
/// 調
/// Megrez Tekkon
/// composer compositor
@ -48,7 +48,7 @@ public protocol InputHandlerDelegate {
// MARK: - (Kernel).
/// InputHandler 調
/// InputHandler 調
public class InputHandler: InputHandlerProtocol {
/// (SessionCtl)便
public var delegate: InputHandlerDelegate?

View File

@ -6,7 +6,7 @@
// marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License.
/// 調
/// 調
import CandidateWindow
import CocoaExtension

View File

@ -6,7 +6,7 @@
// marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License.
/// 調 NSEvent
/// 調 NSEvent
import InputMethodKit
import Shared

View File

@ -6,8 +6,8 @@
// marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License.
/// 調 IMK 調
/// 調
/// 調 IMK 調
/// 調
import CocoaExtension
import IMKUtils

View File

@ -6,7 +6,7 @@
// marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License.
/// 調調
/// 調調
import Megrez
import Shared

View File

@ -61,7 +61,7 @@ public class SessionCtl: IMKInputController {
}
}
/// 調
/// 調
var inputHandler: InputHandlerProtocol = InputHandler(
lm: LMMgr.currentLM(), uom: LMMgr.currentUOM(), pref: PrefMgr.shared
)
@ -165,7 +165,7 @@ extension SessionCtl {
}
}
/// 調
/// 調
public func resetInputHandler() {
//
if state.type == .ofInputting, PrefMgr.shared.trimUnfinishedReadingsOnCommit {

View File

@ -34,7 +34,9 @@ extension SessionCtl {
/// deactivateServer() 使
/// 使 SessionCtl
///
/// - Parameter newState:
/// - Parameters:
/// - newState:
/// - replace:
public func handle(state newState: IMEStateProtocol, replace: Bool) {
var previous = state
if replace { state = newState }