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.
- Editor
Colors - Colors used for Eure syntax highlighting and diagnostics.
- Editor
Output - Result of displaying an
EureEditor. - Eure
Editor - A multiline Eure editor with semantic highlighting and inline diagnostics.
- File
Diagnostic - A diagnostic associated with an Eure text asset.
- Formatted
File Diagnostics - Formatted diagnostics for one Eure text asset.
Enums§
- Diagnostic
Severity - Severity of a diagnostic rendered by
EureEditor. - Query
Error - 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.