Skip to main content

Crate eure_egui_editor

Crate eure_egui_editor 

Source
Expand description

Filesystem-free Eure editor components for egui.

The caller owns both document and schema text. This crate never opens files; virtual names are used only as stable identities inside Eure’s query engine.

Re-exports§

pub use eure;

Structs§

Diagnostic
A source diagnostic. The range contains UTF-8 byte offsets into the document.
EditorColors
Colors used for Eure syntax highlighting and diagnostics.
EditorOutput
Result of displaying an EureEditor.
EureEditor
A multiline Eure editor with semantic highlighting and inline diagnostics.
FileDiagnostic
A diagnostic associated with an Eure text asset.
FormattedFileDiagnostics
Formatted diagnostics for one Eure text asset.

Enums§

DiagnosticSeverity
Severity of a diagnostic rendered by EureEditor.
QueryError
Query errors including both system-level and user errors.

Functions§

file_diagnostics
Diagnostics for one file, suitable for editor underlines and hover.
formatted_file_diagnostics
Render one file’s diagnostics with source snippets and annotations.
formatted_workspace_diagnostics
Render workspace diagnostics, grouped by text asset.
styled_file_diagnostics
Render one file’s diagnostics with ANSI styling.
styled_workspace_diagnostics
Render workspace diagnostics with ANSI styling, grouped by text asset.
workspace_diagnostics
Diagnostics for all open documents and their referenced schemas.