🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

SetComposingTextCommand

Replace the currently composing text with the given text, and set the new cursor position.

Source set: Common
public class SetComposingTextCommand(
    public val annotatedString: AnnotatedString,
    public 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).

Parameters

annotatedString The composing text.
newCursorPosition The cursor position after setting composing text.

Properties

text

Source set: Common
public val text: String