Module editor

Source
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§

CodeEditor
Code-oriented editor backed by an ailloli_ui_editor::Document signal.
CodeEditorConfig
Code-editor specific configuration layered over the generic editor config.
CodeEditorFeatureFlags
Feature switches for code-specific processing and paint layers.
CodeFileSummary
Complete symbol graph for one document version.
CodeSymbol
Language-neutral symbol record for one code document.
CodeTheme
Minimal visual theme for the CodeEditor.
Diagnostic
Diagnostic attached to a byte range in a code document.
DiagnosticHit
Owned diagnostic plus its original slice index.
Document
Open document metadata plus rope-backed text.
DocumentId
Stable identifier for an open document in an editor session.
DocumentVersion
Monotonic revision of a document’s buffer content.
Editor
Multi-paragraph editor backed by a shared [TextBuffer] signal.
EditorPane
Framed editor view with tab and active-document chrome.
EditorPaneStyle
Colors and logical-pixel geometry for an EditorPane.
EditorPaneTab
Metadata rendered for one editor-pane tab.
EditorScrollbarConfig
Enables or disables editor-owned scrollbars and selects their style.
EditorScrollbarStyle
Visual style used by editor-owned scrollbars.
EditorStyle
Visual metrics and colors used by the editor engine.
FoldRegion
Collapsible range of zero-based logical lines.
FoldRegionId
Packed identity for a fold region’s line range.
GutterConfig
Gutter controls for code-oriented editor frames.
LexicalRustSymbolIndexer
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.
LspRequestId
Opaque caller/backend request identifier used for cancellation.
NoopLspBackend
Backend whose capabilities are all false and whose methods use trait defaults.
ScipDocumentIndex
One imported SCIP document and its local semantic records.
ScipNavigationLink
Cross-document navigation from one reference to a definition.
ScipOccurrence
One definition or reference occurrence of a canonical SCIP symbol.
ScipProjectIndex
JSON-deserializable SCIP-like project index.
ScipProjectMetadata
Project provenance stored with SCIP import data.
ScipProjectSummary
Converted project summaries plus cross-document navigation links.
ScipRelation
Local relation between two canonical SCIP symbol strings.
ScipSymbol
Imported SCIP symbol descriptor.
SearchMatch
One non-overlapping search result expressed as a UTF-8 byte range.
SearchQuery
Query used by the code editor search engine.
SearchState
Mutable search results, selection, and cache state.
SymbolEdge
Directed relation between two summary-local symbol IDs.
SymbolId
Stable symbol ID inside one indexed summary.

Enums§

DiagnosticSeverity
Diagnostic importance used for semantic coloring.
DiagnosticSource
Diagnostic producer category.
DocumentSource
Origin used for path hints and persistence routing.
EditorLanguage
Syntax/language selection used by highlighting, folding, and indexing.
EditorPaneAction
High-level user action emitted by editor-pane tab chrome.
EditorPaneSize
Preset height for the tabs and metadata header rows.
EditorPaneTabKind
Semantic category used to decorate an editor tab.
EditorWrapMode
Line wrapping strategy for editor layout.
LspError
Typed failure from an LSP backend or adapter boundary.
ScipImportError
Failure while importing the compact SCIP JSON schema.
ScipOccurrenceRole
Whether a SCIP occurrence defines or references its symbol.
SymbolEdgeKind
Language-neutral directed edge categories.
SymbolKind
Language-neutral symbol categories serialized by exact variant name.
SymbolSource
Provenance of a symbol record.

Traits§

LspBackend
Synchronous, UI-agnostic interface for optional language-server enrichment.
SymbolIndexer
Synchronous interface for indexing one document into a complete summary.