Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Begins an edit whose updates use the existing domain mutation and History protocols.

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

public InnoEditor.Interactions.EditorEditGesture.EditorEditGesture(InnoEditor.Interactions.IEditorHistory history, string name)

Parameter history: The authoritative History for the current editor session.

Parameter name: The operation name displayed by Undo and Redo after a successful commit.

Exception T:System.ArgumentNullException: The History owner is null.

Exception T:System.InvalidOperationException: History cannot begin a transaction in its current state.