Raxol.UI.Components.Input.TextInput.Selection (Raxol v0.4.0)
View SourceHandles cursor and text selection operations for the TextInput component. This includes cursor movement, text selection, and selection clearing.
Summary
Functions
Clears any existing text selection.
Gets the currently selected text, if any.
Moves the cursor by the specified offset, ensuring it stays within bounds.
Moves the cursor to the end of the text.
Moves the cursor to the start of the text.
Extends or creates a text selection by moving the cursor.
Selects text from the current cursor position to the end of the text.
Selects text from the current cursor position to the start of the text.
Functions
Clears any existing text selection.
Gets the currently selected text, if any.
Moves the cursor by the specified offset, ensuring it stays within bounds.
Moves the cursor to the end of the text.
Moves the cursor to the start of the text.
Extends or creates a text selection by moving the cursor.
Selects text from the current cursor position to the end of the text.
Selects text from the current cursor position to the start of the text.