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

performTextInputSelection

Sends the given selection to this node in similar way to IME.

performTextInputSelection

Source set: Common
@Deprecated("Use the non deprecated overload", level = DeprecationLevel.HIDDEN)
public fun SemanticsNodeInteraction.performTextInputSelection(selection: TextRange)

Sends the given selection to this node in similar way to IME.

Parameters

selection the selection to send

performTextInputSelection

Source set: Common
public fun SemanticsNodeInteraction.performTextInputSelection(
    selection: TextRange,
    relativeToOriginalText: Boolean = true,
)

Sends the given selection to this node in similar way to IME.

Parameters

selection the selection to send
relativeToOriginalText true if the selection is relative to the untransformed, original text. false if it is relative to the visual text following any transformations.