Ace API Reference
    Preparing search index...

    Interface EditorOptions

    interface EditorOptions {
        animatedScroll: boolean;
        autoScrollEditorIntoView: boolean;
        behavioursEnabled: boolean;
        copyWithEmptySelection: boolean;
        cursorStyle: "ace" | "slim" | "smooth" | "wide";
        customScrollbar: boolean;
        displayIndentGuides: boolean;
        dragDelay: number;
        dragEnabled: boolean;
        enableAutoIndent: boolean;
        enableBasicAutocompletion: boolean | Completer[];
        enableCodeLens: boolean;
        enableKeyboardAccessibility: boolean;
        enableLiveAutocompletion: boolean | Completer[];
        enableMobileMenu: boolean;
        enableMultiselect: boolean;
        enableSnippets: boolean;
        fadeFoldWidgets: boolean;
        firstLineNumber: number;
        fixedWidthGutter: boolean;
        focusTimeout: number;
        foldStyle: "markbegin" | "markbeginend" | "manual";
        fontFamily: string;
        fontSize: string | number;
        hasCssTransforms: boolean;
        highlightActiveLine: boolean;
        highlightGutterLine: boolean;
        highlightIndentGuides: boolean;
        highlightSelectedWord: boolean;
        hScrollBarAlwaysVisible: boolean;
        indentedSoftWrap: boolean;
        keyboardHandler: string;
        liveAutocompletionDelay: number;
        liveAutocompletionThreshold: number;
        maxLines: number;
        maxPixelHeight: number;
        mergeUndoDeltas: boolean | "always";
        minLines: number;
        mode: string | Ace.SyntaxMode;
        navigateWithinSoftTabs: boolean;
        newLineMode: Ace.NewLineMode;
        overwrite: boolean;
        placeholder: string;
        printMargin: number | boolean;
        printMarginColumn: number;
        readOnly: boolean;
        relativeLineNumbers: boolean;
        scrollPastEnd: number;
        scrollSpeed: number;
        selectionStyle: "line" | "text" | "fullLine" | "screenLine";
        session: EditSession;
        showFoldedAnnotations: boolean;
        showFoldWidgets: boolean;
        showGutter: boolean;
        showInvisibles: boolean;
        showLineNumbers: boolean;
        showPrintMargin: boolean;
        tabSize: number;
        textInputAriaLabel: string;
        theme: string;
        useResizeObserver: boolean;
        useSoftTabs: boolean;
        useSvgGutterIcons: boolean;
        useWorker: boolean;
        value: string;
        vScrollBarAlwaysVisible: boolean;
        wrap: number | boolean | "off" | "free" | "printmargin";
        wrapBehavioursEnabled: boolean;
        wrapMethod: "code" | "text" | "auto";
    }

    Hierarchy (View Summary)

    Index

    Properties

    animatedScroll: boolean
    autoScrollEditorIntoView: boolean
    behavioursEnabled: boolean
    copyWithEmptySelection: boolean
    cursorStyle: "ace" | "slim" | "smooth" | "wide"
    customScrollbar: boolean
    displayIndentGuides: boolean
    dragDelay: number
    dragEnabled: boolean
    enableAutoIndent: boolean
    enableBasicAutocompletion: boolean | Completer[]
    enableCodeLens: boolean
    enableKeyboardAccessibility: boolean
    enableLiveAutocompletion: boolean | Completer[]
    enableMobileMenu: boolean
    enableMultiselect: boolean
    enableSnippets: boolean
    fadeFoldWidgets: boolean
    firstLineNumber: number
    fixedWidthGutter: boolean
    focusTimeout: number
    foldStyle: "markbegin" | "markbeginend" | "manual"
    fontFamily: string
    fontSize: string | number
    hasCssTransforms: boolean
    highlightActiveLine: boolean
    highlightGutterLine: boolean
    highlightIndentGuides: boolean
    highlightSelectedWord: boolean
    hScrollBarAlwaysVisible: boolean
    indentedSoftWrap: boolean
    keyboardHandler: string
    liveAutocompletionDelay: number
    liveAutocompletionThreshold: number
    maxLines: number
    maxPixelHeight: number
    mergeUndoDeltas: boolean | "always"
    minLines: number
    mode: string | Ace.SyntaxMode
    navigateWithinSoftTabs: boolean
    newLineMode: Ace.NewLineMode
    overwrite: boolean
    placeholder: string
    printMargin: number | boolean
    printMarginColumn: number
    readOnly: boolean
    relativeLineNumbers: boolean
    scrollPastEnd: number
    scrollSpeed: number
    selectionStyle: "line" | "text" | "fullLine" | "screenLine"
    session: EditSession
    showFoldedAnnotations: boolean
    showFoldWidgets: boolean
    showGutter: boolean
    showInvisibles: boolean
    showLineNumbers: boolean
    showPrintMargin: boolean
    tabSize: number
    textInputAriaLabel: string
    theme: string
    useResizeObserver: boolean
    useSoftTabs: boolean
    useSvgGutterIcons: boolean
    useWorker: boolean
    value: string
    vScrollBarAlwaysVisible: boolean
    wrap: number | boolean | "off" | "free" | "printmargin"
    wrapBehavioursEnabled: boolean
    wrapMethod: "code" | "text" | "auto"