KeyHandler // Integrate showHanyuPinyinInCompositionBuffer.
This commit is contained in:
parent
878c53ab44
commit
61b2563062
|
@ -89,7 +89,7 @@ extension KeyHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
let head = rawHead
|
let head = rawHead
|
||||||
let reading = _composer.getDisplayedComposition()
|
let reading = _composer.getComposition(isHanyuPinyin: mgrPrefs.showHanyuPinyinInCompositionBuffer)
|
||||||
let tail = rawEnd
|
let tail = rawEnd
|
||||||
let composedText = head + reading + tail
|
let composedText = head + reading + tail
|
||||||
let cursorIndex = composedStringCursorIndex + reading.count
|
let cursorIndex = composedStringCursorIndex + reading.count
|
||||||
|
|
Loading…
Reference in New Issue