Synced
EditorDocumentContext
Section titled “EditorDocumentContext”
- Stores only stable, reload-safe document identity and provider-owned draft parameters.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Interactions.EditorDocumentContextMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | EditorDocumentContext.SetViewParameter | Adds or replaces one stable scalar or JSON-formatted view parameter. |
| Methods | EditorDocumentContext.TryGetViewParameter | Tries to read one stable view parameter. |
| Properties | EditorDocumentContext.assetId | Gets the persistent asset identity, or an empty value before the source has one. |
| Properties | EditorDocumentContext.assetPath | Gets the normalized project asset path. |
| Properties | EditorDocumentContext.documentId | Gets the stable identity of this open source document. |
| Properties | EditorDocumentContext.isDirty | Gets whether unsaved source or staged changes exist. |
| Properties | EditorDocumentContext.isProviderAvailable | Gets whether a current-generation provider is available. |
| Properties | EditorDocumentContext.providerId | Gets the stable provider identity used to recover across extension reload. |
| Properties | EditorDocumentContext.title | Gets or sets the author-facing source title used by diagnostics and dedicated editors. |
| Properties | EditorDocumentContext.viewParameters | Gets an immutable snapshot of stable view parameters. |