Synced
IEditorDocumentService
Section titled “IEditorDocumentService”
- Owns single-instance editor documents independently from reloadable providers and presentation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public interface InnoEditor.Interactions.IEditorDocumentServiceMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | IEditorDocumentService.Apply | Applies staged changes through the current provider. |
| Methods | IEditorDocumentService.Close | Closes one document using an explicit dirty-document decision. |
| Methods | IEditorDocumentService.Open | Opens a document or returns its existing single instance. |
| Methods | IEditorDocumentService.RegisterProvider | Registers one current-generation document provider. |
| Methods | IEditorDocumentService.Revert | Reverts staged changes through the current provider. |
| Methods | IEditorDocumentService.Save | Saves one open document through its current provider. |
| Methods | IEditorDocumentService.SaveAll | Saves every dirty open document. |
| Methods | IEditorDocumentService.SetDirty | Updates a document’s unsaved state without saving, discarding or changing its History. |
| Methods | IEditorDocumentService.UpdateAssetPath | Updates an open document’s source location after an identity-preserving asset move, without changing history or focus. |
| Properties | IEditorDocumentService.documents | Gets the currently owned source documents. |