ctlIME // Ensure committingBufferConverted.
This commit is contained in:
parent
34fa183148
commit
a05a92b9fb
|
@ -130,7 +130,7 @@ extension ctlInputMethod {
|
||||||
ctlInputMethod.ctlCandidateCurrent.visible = false
|
ctlInputMethod.ctlCandidateCurrent.visible = false
|
||||||
ctlInputMethod.tooltipController.hide()
|
ctlInputMethod.tooltipController.hide()
|
||||||
if let previous = previous as? InputState.NotEmpty {
|
if let previous = previous as? InputState.NotEmpty {
|
||||||
commit(text: previous.composingBuffer)
|
commit(text: previous.committingBufferConverted)
|
||||||
}
|
}
|
||||||
clearInlineDisplay()
|
clearInlineDisplay()
|
||||||
// 最後一道保險
|
// 最後一道保險
|
||||||
|
@ -145,7 +145,7 @@ extension ctlInputMethod {
|
||||||
if let previous = previous as? InputState.NotEmpty,
|
if let previous = previous as? InputState.NotEmpty,
|
||||||
!(state is InputState.EmptyIgnoringPreviousState)
|
!(state is InputState.EmptyIgnoringPreviousState)
|
||||||
{
|
{
|
||||||
commit(text: previous.composingBuffer)
|
commit(text: previous.committingBufferConverted)
|
||||||
}
|
}
|
||||||
// 在這裡手動再取消一次選字窗與工具提示的顯示,可謂雙重保險。
|
// 在這裡手動再取消一次選字窗與工具提示的顯示,可謂雙重保險。
|
||||||
ctlInputMethod.ctlCandidateCurrent.visible = false
|
ctlInputMethod.ctlCandidateCurrent.visible = false
|
||||||
|
|
Loading…
Reference in New Issue