KeyHandler // Syncing symbol names from LibvChewingNT.

This commit is contained in:
ShikiSuen 2022-07-24 11:01:06 +08:00
parent 0c13216460
commit e3ac5792ec
1 changed files with 4 additions and 4 deletions

View File

@ -184,12 +184,12 @@ extension KeyHandler {
// 使 OVMandarin調
composer.receiveKey(fromString: " ")
}
let reading = composer.getComposition() //
let readingKey = composer.getComposition() //
//
//
if !currentLM.hasUnigramsFor(key: reading) {
IME.prtDebugIntel("B49C0979語彙庫內無「\(reading)」的匹配記錄。")
if !currentLM.hasUnigramsFor(key: readingKey) {
IME.prtDebugIntel("B49C0979語彙庫內無「\(readingKey)」的匹配記錄。")
errorCallback()
composer.clear()
//
@ -198,7 +198,7 @@ extension KeyHandler {
}
//
compositor.insertReading(reading)
compositor.insertReading(readingKey)
//
let textToCommit = commitOverflownCompositionAndWalk