Expand description
Code editor view with rope buffer and IME. UI adapter for the Ailloli UI editor engine.
The editor engine lives in ailloli_ui_editor; this module only exposes the
public widget builder and wires it into the retained runtime.
Structs§
- Code
Editor - Code-oriented editor backed by an
ailloli_ui_editor::Documentsignal. - Code
Editor Config - Code-editor specific configuration layered over the generic editor config.
- Code
Editor Feature Flags - Feature switches for code-specific processing and paint layers.
- Code
File Summary - Complete symbol graph for one document version.
- Code
Symbol - Language-neutral symbol record for one code document.
- Code
Theme - Minimal visual theme for the CodeEditor.
- Diagnostic
- Diagnostic attached to a byte range in a code document.
- Diagnostic
Hit - Owned diagnostic plus its original slice index.
- Document
- Open document metadata plus rope-backed text.
- Document
Id - Stable identifier for an open document in an editor session.
- Document
Version - Monotonic revision of a document’s buffer content.
- Editor
- Multi-paragraph editor backed by a shared [
TextBuffer] signal. - Editor
Pane - Framed editor view with tab and active-document chrome.
- Editor
Pane Style - Colors and logical-pixel geometry for an
EditorPane. - Editor
Pane Tab - Metadata rendered for one editor-pane tab.
- Editor
Scrollbar Config - Enables or disables editor-owned scrollbars and selects their style.
- Editor
Scrollbar Style - Visual style used by editor-owned scrollbars.
- Editor
Style - Visual metrics and colors used by the editor engine.
- Fold
Region - Collapsible range of zero-based logical lines.
- Fold
Region Id - Packed identity for a fold region’s line range.
- Gutter
Config - Gutter controls for code-oriented editor frames.
- Lexical
Rust Symbol Indexer - Deterministic line-oriented Rust fallback indexer.
- LspCapabilities
- Feature set advertised synchronously by an LSP backend.
- LspDiagnostic
- Raw version-tagged LSP diagnostic.
- LspEnrichment
- Complete enrichment snapshot tied to one document version.
- LspRequest
Id - Opaque caller/backend request identifier used for cancellation.
- Noop
LspBackend - Backend whose capabilities are all false and whose methods use trait defaults.
- Scip
Document Index - One imported SCIP document and its local semantic records.
- Scip
Navigation Link - Cross-document navigation from one reference to a definition.
- Scip
Occurrence - One definition or reference occurrence of a canonical SCIP symbol.
- Scip
Project Index - JSON-deserializable SCIP-like project index.
- Scip
Project Metadata - Project provenance stored with SCIP import data.
- Scip
Project Summary - Converted project summaries plus cross-document navigation links.
- Scip
Relation - Local relation between two canonical SCIP symbol strings.
- Scip
Symbol - Imported SCIP symbol descriptor.
- Search
Match - One non-overlapping search result expressed as a UTF-8 byte range.
- Search
Query - Query used by the code editor search engine.
- Search
State - Mutable search results, selection, and cache state.
- Symbol
Edge - Directed relation between two summary-local symbol IDs.
- Symbol
Id - Stable symbol ID inside one indexed summary.
Enums§
- Diagnostic
Severity - Diagnostic importance used for semantic coloring.
- Diagnostic
Source - Diagnostic producer category.
- Document
Source - Origin used for path hints and persistence routing.
- Editor
Language - Syntax/language selection used by highlighting, folding, and indexing.
- Editor
Pane Action - High-level user action emitted by editor-pane tab chrome.
- Editor
Pane Size - Preset height for the tabs and metadata header rows.
- Editor
Pane TabKind - Semantic category used to decorate an editor tab.
- Editor
Wrap Mode - Line wrapping strategy for editor layout.
- LspError
- Typed failure from an LSP backend or adapter boundary.
- Scip
Import Error - Failure while importing the compact SCIP JSON schema.
- Scip
Occurrence Role - Whether a SCIP occurrence defines or references its symbol.
- Symbol
Edge Kind - Language-neutral directed edge categories.
- Symbol
Kind - Language-neutral symbol categories serialized by exact variant name.
- Symbol
Source - Provenance of a symbol record.
Traits§
- LspBackend
- Synchronous, UI-agnostic interface for optional language-server enrichment.
- Symbol
Indexer - Synchronous interface for indexing one document into a complete summary.