Skip to main content

Module extensions

Module extensions 

Source
Expand description

Extension system for editor functionality

Provides the EditorExtension trait for extending editor capabilities with custom functionality. Supports both synchronous and asynchronous operations, lifecycle management, and inter-extension communication.

Modules§

builtin
Built-in extensions for the ASS editor
registry_integration
Integration with ass-core’s ExtensionRegistry

Structs§

EditorContext
Editor context providing access to editor functionality Adapts to available features automatically
ExtensionCommand
Extension command that can be executed
ExtensionInfo
Extension metadata and information
ExtensionManager
Single unified ExtensionManager that is always thread-safe when multi-thread feature is enabled
ExtensionResult
Result of extension command execution
StdMessageHandlerstd
Default message handler implementation for std environments

Enums§

ExtensionCapability
Extension capabilities that can be provided
ExtensionState
Extension lifecycle state
MessageLevel
Message levels for user notifications

Traits§

EditorExtension
Main extension trait that extensions must implement
ExtensionContext
Extension context providing access to editor functionality
MessageHandler
Message handler trait for showing messages to users

Type Aliases§

EventSenderstd
Event sender type for channel communication