setSelectionRange method

void setSelectionRange(
int start,
int end,
[String direction]
)