setSelection

open fun setSelection(@NonNull selection: Pair<Long, Long>)

Sets the current selection to selection.

Throws

If selection creates an invalid state.