Synced
EditorDocumentProvider.Revert
Section titled “EditorDocumentProvider.Revert”
- Discards staged authoring changes and reloads the last saved source.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public virtual bool InnoEditor.Interactions.EditorDocumentProvider.Revert(InnoEditor.Interactions.EditorDocumentContext context)Parameters
Section titled “Parameters”Parameter context: Stable document context owned by the host.
Returns
Section titled “Returns”true when the source is restored.