Method SetSelection
SetSelection(long, long)
Sets the selection to the given range. The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the selection for a character at position 5, use the range (5,6).
public void SetSelection(long from, long to)
Parameters
SetSelection(int)
public void SetSelection(int selection)
Parameters
selection
int