Expand description
Workspace and multi-document model.
editor-core is intentionally UI-agnostic, but a full-featured editor typically needs a
kernel-level model for managing multiple open documents/buffers.
This module provides a small Workspace type that owns multiple EditorStateManager
instances and provides:
- stable, opaque document ids
- optional URI->document lookup for integrations (e.g. LSP)
- an “active document” convenience slot (host-driven)
Structs§
- Document
Id - Opaque identifier for an open document in a
Workspace. - Document
Metadata - Metadata attached to a workspace document.
- Workspace
- A collection of open documents/buffers and their state.
Enums§
- Workspace
Error - Workspace-level errors.