Synced
EditorEditGesture.Cancel
Section titled “EditorEditGesture.Cancel”
- Attempts to restore the state before the gesture without discarding a failed rollback.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Interactions.EditorHistoryResult InnoEditor.Interactions.EditorEditGesture.Cancel()Returns
Section titled “Returns”The rollback outcome; a state-preserving failure keeps this gesture active for retry.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The gesture is finished or a nested transaction remains active.