Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a neutral history change.

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

public InnoEditor.Interactions.EditorHistoryChange.EditorHistoryChange(string kind, InnoEditor.Interactions.EditorHistoryPayload payload, string? mergeKey = null)

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.

Exception T:System.ArgumentException: Thrown when kind is empty.

Exception T:System.ArgumentNullException: Thrown when payload is null.