SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ScriptEditorAttributes

    interface ScriptEditorAttributes {
        close(): Promise<void>;
        copy(): Promise<void>;
        cut(): Promise<void>;
        getScripts(): IScript;
        insertSnippet(snippet: string): Promise<void>;
        isScriptEditorElement(): true;
        paste(): Promise<void>;
        runAction(actionId: string): void;
        saveSource(): Promise<void>;
        showCommandPalette(): void;
    }

    Hierarchy (View Summary)

    Index
    • Returns Promise<void>

    • Clipboard, model-based (focus-independent, so they also work from the context menu, and paste is a single undo). No-op until the editor has mounted. These are what the editor's copy/cut/paste commands and its context-menu items call — NOT Monaco's built-in clipboard actions, which depend on editor focus and so fail from the (focus-stealing) context menu.

      Returns Promise<void>

    • Returns Promise<void>

    • Returns IScript

    • Parameters

      • snippet: string

      Returns Promise<void>

    • Returns true

    • Returns Promise<void>

    • Run a Monaco editor action by id (e.g. editor.action.selectAll). The editor owns its own selection, so selectAll routes here rather than through the generic input-clipboard injector. No-op until the editor has mounted. Not for clipboard — see copy/cut/paste.

      Parameters

      • actionId: string

      Returns void

    • Returns Promise<void>

    • Returns void