Preedit
class Preedit(val fullText: String, val caretPosition: Int, blocks: List<String>, val focusedBlock: Int) : TextInputEvent(source)
Immutable input-method composition state.
The constructor snapshots blocks and exposes an read-only list. Empty text clears active composition.
Parameters
fullText
complete current preedit text.
caretPosition
UTF-16 caret offset within TextInputEvent.Preedit.fullText.
blocks
ordered platform composition blocks.
focusedBlock
selected block index, or -1 when no block is selected.
Throws
when caret or block indices are outside their typed ranges.