Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Exposes reload-safe Undo and Redo operations based exclusively on neutral history changes.

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public interface InnoEditor.Interactions.IEditorHistory
Kind Element Description
Methods IEditorHistory.BeginTransaction Begins an atomic group of neutral history operations.
Methods IEditorHistory.Execute Applies and records a neutral change through its current-generation handler.
Methods IEditorHistory.RecordApplied Records a neutral change whose domain mutation is already applied.
Methods IEditorHistory.Redo Attempts to reapply the newest reverted operation.
Methods IEditorHistory.Undo Attempts to restore the state preceding the newest committed operation.
Properties IEditorHistory.canRedo Gets whether a Redo transition is currently available.
Properties IEditorHistory.canUndo Gets whether an Undo transition is currently available.
Properties IEditorHistory.diskBytes Gets the temporary disk payload bytes retained by committed entries.
Properties IEditorHistory.faultReason Gets the diagnostic that faulted this history, or null.
Properties IEditorHistory.isFaulted Gets whether a failed compensation left the domain state indeterminate.
Properties IEditorHistory.redoName Gets the next Redo operation name, or null.
Properties IEditorHistory.redoUnavailableReason Gets why the next Redo entry is unavailable, or null.
Properties IEditorHistory.residentBytes Gets the resident payload bytes retained by committed entries.
Properties IEditorHistory.undoName Gets the next Undo operation name, or null.
Properties IEditorHistory.undoUnavailableReason Gets why the next Undo entry is unavailable, or null.