Source set: Common
public class CommitTextCommand(
public val annotatedString: AnnotatedString,
public val newCursorPosition: Int,
) : EditCommand
Commit final text to the text box and set the new cursor position.
See commitText).
Parameters
| annotatedString | The text to commit. |
| newCursorPosition | The cursor position after inserted text. |
Properties
text
Source set: Common
public val text: String