Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a contextual menu request.

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

public InnoEditor.Interactions.EditorMenuContext.EditorMenuContext(InnoEditor.Core.EditorContext editor, InnoEditor.Interactions.EditorInteractions interactions, string area, object? target = null)

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.

Exception T:System.ArgumentNullException: Thrown when editor or interactions is null.

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