Expand description
Simple utility operations
This module contains simple, self-contained operations extracted from the TUI that have minimal dependencies and can be easily tested.
Structs§
- Text
Navigation Context - Context for text navigation operations
- Undo
Context - Context for undo operations
Enums§
- Undo
Result - Result of an undo operation
Functions§
- check_
parser_ error - Check for common SQL parser errors in a query string Returns an error message if issues are found, None if the query looks valid
- get_
cursor_ token_ position - Get the cursor token position in the query text Returns (start, end) positions of the token at cursor
- get_
token_ at_ cursor - Get the token at the cursor position Returns the token string if found
- perform_
undo - Perform an undo operation on the current buffer