interface Command {
    aceCommandGroup?: string;
    action?: string;
    bindKey?: string | {
        mac?: string;
        win?: string;
    };
    description?: string;
    exec?: ((editor?, args?) => void);
    isAvailable?: ((editor) => boolean);
    level?: number;
    multiSelectAction?: Function | "forEach" | "forEachLine";
    name?: string;
    passEvent?: boolean;
    readOnly?: boolean;
    scrollIntoView?: true | "center" | "animate" | "none" | "cursor" | "selectionPart" | "selection";
}

Hierarchy (view full)

Properties

aceCommandGroup?: string
action?: string
bindKey?: string | {
    mac?: string;
    win?: string;
}

Type declaration

  • Optional mac?: string
  • Optional win?: string
description?: string
exec?: ((editor?, args?) => void)

Type declaration

    • (editor?, args?): void
    • Parameters

      • Optional editor: any
      • Optional args: any

      Returns void

isAvailable?: ((editor) => boolean)

Type declaration

    • (editor): boolean
    • Parameters

      Returns boolean

level?: number
multiSelectAction?: Function | "forEach" | "forEachLine"
name?: string
passEvent?: boolean
readOnly?: boolean
scrollIntoView?: true | "center" | "animate" | "none" | "cursor" | "selectionPart" | "selection"

Generated using TypeDoc