CommitTextCommand
Kotlin
|Java
class CommitTextCommand : EditCommand
kotlin.Any | |
↳ | androidx.compose.ui.text.input.CommitTextCommand |
Commit final text to the text box and set the new cursor position.
Summary
Public constructors | |
---|---|
<init>(annotatedString: AnnotatedString, newCursorPosition: Int) Commit final text to the text box and set the new cursor position. |
Public methods | |
---|---|
Unit |
applyTo(buffer: EditingBuffer) Apply the command on the editing buffer. |
Boolean | |
Int |
hashCode() |
String |
toString() |
Properties | |
---|---|
AnnotatedString |
The text to commit. |
Int |
The cursor position after inserted text. |
String |
Public constructors
<init>
CommitTextCommand(
annotatedString: AnnotatedString,
newCursorPosition: Int)
Commit final text to the text box and set the new cursor position.
Public methods
hashCode
fun hashCode(): Int
toString
fun toString(): String
Properties
text
val text: String