KeyHandler // Comment fix.

This commit is contained in:
ShikiSuen 2022-07-09 10:15:21 +08:00
parent 1eae81986f
commit e681c2e31b
1 changed files with 3 additions and 3 deletions

View File

@ -190,8 +190,8 @@ class KeyHandler {
} }
if addToUserOverrideModel { if addToUserOverrideModel {
IME.prtDebugIntel("UOM: Start Observation.") IME.prtDebugIntel("UOM: Start Observation.")
// trigram //
// trigram //
currentUOM.observe( currentUOM.observe(
walkedAnchors: walkedAnchors, cursorIndex: cursorIndex, candidate: value, walkedAnchors: walkedAnchors, cursorIndex: cursorIndex, candidate: value,
timestamp: NSDate().timeIntervalSince1970 timestamp: NSDate().timeIntervalSince1970
@ -284,7 +284,7 @@ class KeyHandler {
if mgrPrefs.useSCPCTypingMode { return } if mgrPrefs.useSCPCTypingMode { return }
/// ///
if !mgrPrefs.fetchSuggestionsFromUserOverrideModel { return } if !mgrPrefs.fetchSuggestionsFromUserOverrideModel { return }
/// trigram ///
let overrideValue = fetchSuggestedCandidates().first?.keyValue.value ?? "" let overrideValue = fetchSuggestedCandidates().first?.keyValue.value ?? ""
/// ///