Module action_handlers

Module action_handlers 

Source
Expand description

Action handlers using visitor pattern

This module implements a visitor pattern for handling different groups of actions, allowing us to break down the massive try_handle_action function into manageable chunks.

Structs§

ActionDispatcher
Main action dispatcher using visitor pattern
ClearActionHandler
Handler for clear/reset operations
ColumnActionHandler
Handler for column operations (pin, hide, sort, etc.)
ColumnArrangementActionHandler
Handler for column arrangement actions (move left/right)
DebugViewportActionHandler
Handler for debug and viewport control operations
ExitActionHandler
Handler for exit/quit actions
ExportActionHandler
Handler for export operations (CSV, JSON)
FunctionKeyActionHandler
Handler for function key actions (F1-F12)
InputCursorActionHandler
Handler for cursor movement actions in Command mode
ModeActionHandler
Handler for mode transition actions (search modes, debug, etc.)
NavigationActionHandler
Handler for navigation actions (Up, Down, Left, Right, PageUp, etc.)
SearchNavigationActionHandler
Handler for search navigation actions
StatisticsActionHandler
Handler for statistics and display actions
TextEditActionHandler
Handler for text editing actions in Command mode
ToggleActionHandler
Handler for toggle operations (selection mode, row numbers, etc.)
UIActionHandler
Handler for UI mode and display operations
ViewportNavigationHandler
Handler for viewport navigation actions (H, M, L vim commands)
YankActionHandler
Handler for yank operations (cell, row, column, etc.)

Traits§

ActionHandler
Trait for handling groups of related actions
ActionHandlerContext
Context interface for action handlers to interact with the TUI This abstracts the TUI methods that action handlers need