setSelection

fun setSelection(index: Int)

Moves the cursor to the specified offset position in text

Parameters

index

specific position for the cursor.