SessionCtl // Comment update.
This commit is contained in:
parent
9a3ecba927
commit
57d9c3f5e1
|
@ -20,7 +20,7 @@ extension InputHandler {
|
||||||
/// 生成「正在輸入」狀態。相關的內容會被拿給狀態機械用來處理在電腦螢幕上顯示的內容。
|
/// 生成「正在輸入」狀態。相關的內容會被拿給狀態機械用來處理在電腦螢幕上顯示的內容。
|
||||||
public func generateStateOfInputting() -> IMEStateProtocol {
|
public func generateStateOfInputting() -> IMEStateProtocol {
|
||||||
/// 「更新內文組字區 (Update the composing buffer)」是指要求客體軟體將組字緩衝區的內容
|
/// 「更新內文組字區 (Update the composing buffer)」是指要求客體軟體將組字緩衝區的內容
|
||||||
/// 換成由此處重新生成的組字字串(NSAttributeString,否則會不顯示)。
|
/// 換成由此處重新生成的原始資料在 IMEStateData 當中生成的 NSAttributeString。
|
||||||
var displayTextSegments: [String] = compositor.walkedNodes.values
|
var displayTextSegments: [String] = compositor.walkedNodes.values
|
||||||
var cursor = convertCursorForDisplay(compositor.cursor)
|
var cursor = convertCursorForDisplay(compositor.cursor)
|
||||||
let reading = composer.getInlineCompositionForDisplay(isHanyuPinyin: prefs.showHanyuPinyinInCompositionBuffer)
|
let reading = composer.getInlineCompositionForDisplay(isHanyuPinyin: prefs.showHanyuPinyinInCompositionBuffer)
|
||||||
|
|
Loading…
Reference in New Issue