TextT.addSelection

Adds a selection bounded by the specified offsets.

template TextT(TStruct)
bool
addSelection

Parameters

startOffset int

the starting character offset of the selected region

endOffset int

the offset of the first character after the selected region.

Return Value

Type: bool

%TRUE if successful, %FALSE otherwise

Meta