Text.addSelection
bool addSelection(int startOffset, int endOffset)Adds a selection bounded by the specified offsets.
Parameters
startOffset | the starting character offset of the selected region |
endOffset | the offset of the first character after the selected region. |
Returns
true if successful, false otherwise