Skip to main content

Module text_edit

Module text_edit 

Source
Expand description

Unified text editing manager

Single source of truth for all text editing state. MultiCursorState is the primary cursor/selection system. BlinkState handles the caret blink animation. (Non-editable drag-select is not yet wired — the former SelectionManager scaffolding was dead and has been removed; a future implementation should build on MultiCursorState.)

Every mutation that affects visual output sets display_list_dirty = true, ensuring the display list is always regenerated.

Structs§

BlinkState
Cursor blink animation state.
TextEditManager
Unified text editing manager.

Constants§

CURSOR_BLINK_INTERVAL
Default cursor blink interval as a variant-agnostic Duration.
CURSOR_BLINK_INTERVAL_MS
Default cursor blink interval in milliseconds