Sets the current bounds of the selected text. Call with no arguments to remove the current selection.
RiftTextfield:SetSelection() | |||
RiftTextfield:SetSelection(begin, end) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
begin | parameter | number | The new beginning of the selected text, in the same format SetCursor uses. Must be an integer and smaller than "end". |
end | parameter | number | The new end of the selected text, in the same format SetCursor uses. Must be an integer and larger than "begin". |