simvx.core.ui.find_replace¶
Find and replace controller for the code editor widget.
Manages find bar state, search execution, match navigation, replace operations, keyboard/mouse routing, and bar rendering.
Module Contents¶
Classes¶
Mixin providing find/replace functionality for a code editor. |
API¶
- class simvx.core.ui.find_replace.FindReplaceMixin[source]¶
Mixin providing find/replace functionality for a code editor.
Expects the host class to have: -
_lines: list[str]-_cursor_line: int,_cursor_col: int-_select_start,_select_end-_has_selection(),_get_selection_text()-_ensure_cursor_visible()-font_size: float-focused: bool-queue_redraw()-text_changedsignal -find_opened/find_closedsignals -_invalidate_cache(line)-get_global_rect()-get_theme()-textproperty