Skip to main content

EditorState

Type Alias EditorState 

Source
pub type EditorState = InputBaseState<EditorMode>;
Expand description

State for source-code editing.

This is the shared editing engine in its code-editor kind. Languages, line numbers, folding, indent guides, diagnostics, decorations, and the LSP providers exist on this kind only, so an ordinary input or textarea never exposes them.

Aliased Typeยง

pub struct EditorState { /* private fields */ }