Google is committed to advancing racial equity for Black communities. See how.

SetSelectionEditOp

data class SetSelectionEditOp : EditOperation
kotlin.Any
   ↳ androidx.compose.ui.text.input.SetSelectionEditOp

An edit operation represents setSelection callback from InputMethod

Summary

Public constructors
<init>(start: Int, end: Int)

An edit operation represents setSelection callback from InputMethod

Public methods
Unit

Processes editing buffer with this edit operation.

Properties
Int

The exclusive end offset of the selection region.

Int

The inclusive start offset of the selection region.

Public constructors

<init>

SetSelectionEditOp(
    start: Int,
    end: Int)

An edit operation represents setSelection callback from InputMethod

Public methods

process

fun process(buffer: EditingBuffer): Unit

Processes editing buffer with this edit operation.

Properties

end

val end: Int

The exclusive end offset of the selection region.

start

val start: Int

The inclusive start offset of the selection region.