enum TextInputOperation
source · line 21public
public enum TextInputOperation
One ordered edit within a native input transaction.
variant DeleteSurrounding
source · line 25public
DeleteSurrounding(val beforeBytes: Long, val afterBytes: Long)
parameter beforeBytes
source · line 25public
val beforeBytes: Long
parameter afterBytes
source · line 25public
val afterBytes: Long
field beforeBytes
source · line 25public
val beforeBytes: Long
field afterBytes
source · line 25public
val afterBytes: Long
variant Preedit
source · line 23public
Preedit(val text: String, val selection: Utf8Selection?, val replacement: TextReplacement)
field selection
source · line 23public
val selection: Utf8Selection?
field text
source · line 23public
val text: String
parameter selection
source · line 23public
val selection: Utf8Selection?
field replacement
source · line 23public
val replacement: TextReplacement
parameter text
source · line 23public
val text: String
parameter replacement
source · line 23public
val replacement: TextReplacement
variant ClearPreedit
source · line 22public
ClearPreedit
variant Commit
source · line 24public
Commit(val text: String, val replacement: TextReplacement)
parameter text
source · line 24public
val text: String
field replacement
source · line 24public
val replacement: TextReplacement
parameter replacement
source · line 24public
val replacement: TextReplacement
field text
source · line 24public
val text: String
variant SetSelection
source · line 26public
SetSelection(val selection: Utf8Selection)
field selection
source · line 26public
val selection: Utf8Selection
parameter selection
source · line 26public
val selection: Utf8Selection
function equals
source · line 21publiccompiler-derived
operator fun equals(other: TextInputOperation): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: String, Option<Utf8Selection>, TextReplacement, Long, Utf8Selection.