Text.addSelection

Adds a selection bounded by the specified offsets.

class Text
int
addSelection

Parameters

startOffset int

the start position of the selected region

endOffset int

the offset of the first character after the selected region.

Return Value

Type: int

TRUE if success, FALSE otherwise

Meta