Expand description
Drop-in interactive Monaco-class <CodeEditorWidget> component, reactive CodeEditorHandle,
and use_code_editor hook.
Renders a virtualized, fold-aware viewport with line numbers, clickable fold chevrons,
diagnostic gutter indicators & inline squiggles, Find & Replace overlay bar, matching
bracket highlights, multi-cursor carets & selections, Canvas2D minimap with scrub-to-scroll,
Monaco status bar, and full --strata-editor-* CSS-variable theming.
Re-exports§
pub use CodeEditorWidget as CodeEditorView;pub use CodeEditorWidget as CodeEditorView;
Structs§
- Code
Editor Handle - Reactive shared handle to a
CodeEditorinstance. - Code
Editor Options - Visual and behavioral configuration for interactive
<CodeEditorWidget>rendering. - Code
Editor Widget - Code
Editor Widget Builder
Functions§
- Code
Editor Widget - Drop-in Monaco-class interactive
<CodeEditorWidget>Strata component. - render_
interactive_ editor - Builds the full interactive Monaco-class DOM blueprint (with live event listeners, virtualized fold-aware rows, Find & Replace overlay, Canvas2D minimap, and status bar).
- use_
code_ editor - Reactive Strata hook returning a persistent
CodeEditorHandleacross component re-renders.