Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Starts an isolated temporary Undo and Redo branch while retaining the current editing branch.

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

public System.IDisposable InnoEditor.Interactions.EditorInteractions.BeginHistoryIsolation()

Disposing the returned scope releases every temporary operation and restores the retained branch. This host-level boundary is intended for transient editor sessions such as Play Mode.

A scope that restores the retained history branch when disposed.

Exception T:System.InvalidOperationException: Thrown during an Undo, Redo, transaction, or another isolated branch.