updateCursorLocation

fun EditText.updateCursorLocation(index: Int = text.length)