Orca Note Plugin API Documentation
    Preparing search index...

    Interface Command

    Defines a command's properties including its label, function, and behavioral flags.

    interface Command {
        fn: CommandFn | [EditorCommandFn, CommandFn];
        hasArgs?: boolean;
        label: string;
        noFocusNeeded?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The function to execute when the command is invoked, or a pair of do/undo functions

    hasArgs?: boolean

    Whether the command accepts arguments

    label: string

    Human-readable name for the command

    noFocusNeeded?: boolean

    Whether the command can be executed when no panel has focus