Raxol.Components.Input.MultiLineInput.NavigationHelper (Raxol v0.2.0)

View Source

Helper functions for cursor navigation and text selection in MultiLineInput.

Summary

Functions

clear_selection(state)

is_line_in_selection?(line_index, start_pos, end_pos)

move_cursor(state, arg2)

move_cursor_doc_end(state)

move_cursor_doc_start(state)

move_cursor_line_end(state)

move_cursor_line_start(state)

move_cursor_page(state, direction)

move_cursor_word_left(state)

move_cursor_word_right(state)

normalize_selection(state)

select(state, range_or_direction)

select_all(state)