TextT.addSelection

Adds a selection bounded by the specified offsets.

template TextT(TStruct)
bool
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: bool

%TRUE if success, %FALSE otherwise

Meta