Skip to main content

Module editor

Module editor 

Source

Structs§

CellMetrics
IM.7a — the drawing peer’s cell geometry, in pixels.
CellsWake
S2.1 (2026-05-26): wake signal for the cell-builder worker (S2.2+). Same shape as OverlayWake: a Notify cloned into Editor::cells_wake and a sibling clone held by the worker task. publish_render_state fires notify_one() after every dispatch tick so the worker re-evaluates inputs from the latest published crate::render_state::CellsRenderState.
Editor
Renderer-agnostic editor state.
OverlayWake
Cross-thread wake signal for the overlay worker.
PendingTransientArgument
MG.17b: a transient menu parked while its argument is being typed.
ProgrammaticDiffPanes
I4 (openDiff) D-fix.1: the pane/buffer bookkeeping needed to tear a programmatic side-by-side diff down cleanly — close the two transient diff panes and return focus to the pane the openDiff was launched from (the :claude terminal). Recorded by Editor::open_programmatic_diff, consumed by Editor::finish_programmatic_diff_panes on :diff-accept / :diff-reject. Keyed in Editor::programmatic_diff_panes by the session’s primary (proposed / right) BufferId.
SessionBackedMinor
A minor mode whose active/inactive state is driven by a predicate reading a shared, mode-owned session service — reconciled on the active buffer each sync_keymap_overlays cycle. Modes contribute these at boot so the generic overlay-sync carries no subsystem-specific knowledge: active-snippet-mode keys off the shared SnippetSession (lattice_snippet::snippet_active_predicate). See feedback_mode_owns_its_surface.
VirtualRowsWake
D.0a.1 (2026-05-29): wake signal for the virtual_rows_worker. Sibling of CellsWake. Fired by publish_render_state and by provider-state changes (e.g., DiffSubsystem after publishing new hunks). The worker awaits via notified() and rebuilds the VirtualRowMatrix off the UI thread.

Enums§

ReferencesTerminus
2026-05-26: invocation-runner function pointer. The host registers one per lattice_mode::Mode whose EP.6 (2026-08-11): where a references result should land.

Type Aliases§

InvocationRunnerFn
lattice_mode::Mode::invocation_runner returns Some(id). Returns true when the runner claimed the invocation, false when [Editor::run_invocation] should fall through to the grammar Action gate / run_document_invocation for central dispatch.