Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Provides passive project and frame state shared by editor extensions. Interaction routing is supplied separately by Inno.Editor.Interactions.

API: scripting
Inherits: object
Project: Inno.Editor.Core
Scope: Editor

public sealed class InnoEditor.Core.EditorContext
Kind Element Description
Constructors EditorContext.Constructor Creates a passive editor context for one project.
Methods EditorContext.GetLayoutSectionNames Gets layout section names matching an ordinal prefix.
Methods EditorContext.RemoveLayoutSection Removes one editor layout section from the in-memory document.
Methods EditorContext.SaveLayout Atomically rewrites the complete project editor layout document.
Methods EditorContext.SaveLayoutIfChanged Atomically saves the project editor layout when it changed.
Methods EditorContext.SetImGuiLayout Replaces the Dear ImGui layout while retaining editor module and panel state sections.
Methods EditorContext.SetLayoutSection Adds or replaces one human-readable editor layout section in memory.
Methods EditorContext.TryGetLayoutSection Tries to read one independent editor layout section snapshot.
Properties EditorContext.frame Gets the latest immutable editor frame snapshot.
Properties EditorContext.imguiLayout Gets the Dear ImGui layout text without editor module or panel state sections.
Properties EditorContext.isFocused Gets whether any editor viewport currently owns application focus.
Properties EditorContext.keyboard Gets the immutable keyboard conventions shared by discovery, dispatch and presentation.
Properties EditorContext.layoutPath Gets the absolute path of the project editor layout document.
Properties EditorContext.projectDirectory Gets the normalized project root directory.
Properties EditorContext.statistics Gets the frame-scoped statistics exchange used by independent editor features and viewers.