Inno.Editor.Scripting editor-script examples
Section titled “Inno.Editor.Scripting editor-script examples”These examples use the selected logical script surface. Read the feature contract before adapting them. Host implementation namespaces and host-only readiness services are not substitutes for these references.
Provide the live services or authored source context required by each declaration. Compilation verifies these use sites, not device execution or completion of a reload lifecycle.
using InnoEngine.Core;using InnoEditor.Interactions;
[EditorAction("project.items.select", "project/items")][EditorMenu("project/items", "Selection/Select Item")]public sealed class SelectItemAction : EditorAction<IdentityObject>{ protected override void Execute(EditorActionContext<IdentityObject> context) => context.interactions.For(context.area, context.target).Select();}