SetComposingTextCommand
Class
Common
class SetComposingTextCommand(val annotatedString: AnnotatedString, val newCursorPosition: Int) :
    EditCommand
Replace the currently composing text with the given text, and set the new cursor position. Any composing text set previously will be removed automatically.
See
setComposingText(https://developer.android.com/reference/android/view/inputmethod/InputConnection.html#setComposingText(java.lang.CharSequence,%2520int)).
Parameters
| annotatedString | The composing text. | 
| newCursorPosition | The cursor position after setting composing text. | 
Secondary Constructors
constructor(
    /** The composing text. */
    text: String,
    /** The cursor position after setting composing text. */
    newCursorPosition: Int,
) : this(AnnotatedString(text), newCursorPosition)
Properties
Common
val text: String
