RiftTextfield:SetSelection

Sets the current bounds of the selected text. Call with no arguments to remove the current selection.

Usage:

RiftTextfield:SetSelection()
RiftTextfield:SetSelection(begin, end)
ParameterTypeDatatypeDescription
beginparameternumberThe new beginning of the selected text, in the same format SetCursor uses. Must be an integer and smaller than "end".
endparameternumberThe new end of the selected text, in the same format SetCursor uses. Must be an integer and larger than "begin".