Synced
EditorHistoryTransaction
Section titled “EditorHistoryTransaction”
- Collects several history operations into one atomic undo and redo entry.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Interactions.EditorHistoryTransaction : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | EditorHistoryTransaction.Commit | Commits all recorded child operations as one atomic history entry. |
| Methods | EditorHistoryTransaction.Dispose | Rolls back an uncommitted transaction before releasing it. |
| Methods | EditorHistoryTransaction.Rollback | Reverts every operation recorded by the transaction and does not add a history entry. |
| Properties | EditorHistoryTransaction.name | Gets the user-facing name assigned to the transaction. |