Label.getSelectionBounds

Gets the selected range of characters in the label, returning TRUE if there's a selection.

class Label
int
getSelectionBounds
(
out int start
,
out int end
)

Parameters

start int

return location for start of selection, as a character offset. out

end int

return location for end of selection, as a character offset. out

Return Value

Type: int

TRUE if selection is non-empty

Meta