pub fn CodeEditor(props: CodeEditorProps) -> impl IntoViewExpand description
A single-buffer code editor: a transparent textarea over a highlighted
<pre> overlay, with an optional line-number gutter (marking lines in
diagnostics as errors), a fixed height or fill mode, and an optional
Ctrl/Cmd+F find bar for find/replace over the value signal.
§Required Props
- value:
RwSignal<String>
§Optional Props
- highlighter:
Highlighter - height:
impl Into<String> - fill:
bool - gutter:
bool - diagnostics:
impl Into<Signal<Vec<usize>>> - find:
bool