get_selection_bounds


Description:

public bool get_selection_bounds (out int start, out int end)

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

Parameters:

this

a Label

start

return location for start of selection, as a character offset

end

return location for end of selection, as a character offset

Returns:

true if selection is non-empty