setSelectionRange

fun setSelectionRange(    start: Int,     end: Int,     direction: String = definedExternally)