API Overview
This page summarizes the major public-facing concepts exposed by the Compose layer.
Main Types
Editor Surface
SweetEditorSweetEditorControllerEditorStateEditorDocument
Decoration System
DecorationProviderDecorationProviderContextDecorationSetDecorationUpdateDecorationResult
Completion System
CompletionProvider- completion result models
- completion popup item rendering hooks
Inline Suggestion / Copilot Layer
InlineSuggestionInlineSuggestionControllerInlineSuggestionListener
Event System
EditorEventBusTextChangedEventCursorChangedEventDocumentLoadedEvent
Platform / Bridge Layer
- Compose consumes render models from the native core
- Decorations and commands are bridged through the Kotlin wrapper
- Platform differences are handled in their respective source sets