Synced
EditorMenuContext.Constructor
Section titled “EditorMenuContext.Constructor”
- Creates a contextual menu request.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Interactions.EditorMenuContext.EditorMenuContext(InnoEditor.Core.EditorContext editor, InnoEditor.Interactions.EditorInteractions interactions, string area, object? target = null)Parameters
Section titled “Parameters”Parameter editor: The shared passive editor context.
Parameter interactions: The active interaction entry point.
Parameter area: The exact menu area being requested.
Parameter target: The optional object the menu operates on.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when editor or interactions is null.
Exception T:System.ArgumentException: Thrown when area is empty.