Synced
EditorHistoryChange.Constructor
Section titled “EditorHistoryChange.Constructor”
- Creates a neutral history change.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Interactions.EditorHistoryChange.EditorHistoryChange(string kind, InnoEditor.Interactions.EditorHistoryPayload payload, string? mergeKey = null)Parameters
Section titled “Parameters”Parameter kind: The stable globally unique handler protocol identifier.
Parameter payload: The immutable neutral payload interpreted by the handler.
Parameter mergeKey: An optional stable key used by the handler to merge adjacent changes.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when kind is empty.
Exception T:System.ArgumentNullException: Thrown when payload is null.