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;
    hScrollBarAlwaysVisible: boolean;
    hasCssTransforms: boolean;
    highlightActiveLine: boolean;
    highlightGutterLine: boolean;
    highlightIndentGuides: boolean;
    highlightSelectedWord: boolean;
    indentedSoftWrap: boolean;
    keyboardHandler: string;
    liveAutocompletionDelay: number;
    liveAutocompletionThreshold: number;
    maxLines: number;
    maxPixelHeight: number;
    mergeUndoDeltas: boolean | "always";
    minLines: number;
    mode: string;
    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;
    showFoldWidgets: boolean;
    showFoldedAnnotations: boolean;
    showGutter: boolean;
    showInvisibles: boolean;
    showLineNumbers: boolean;
    showPrintMargin: boolean;
    tabSize: number;
    textInputAriaLabel: string;
    theme: string;
    tooltipFollowsMouse: boolean;
    useResizeObserver: boolean;
    useSoftTabs: boolean;
    useSvgGutterIcons: boolean;
    useWorker: boolean;
    vScrollBarAlwaysVisible: boolean;
    value: string;
    wrap: number | boolean | "off" | "free" | "printmargin";
    wrapBehavioursEnabled: boolean;
    wrapMethod: "code" | "text" | "auto";
}

Hierarchy (view full)

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
hScrollBarAlwaysVisible: boolean
hasCssTransforms: boolean
highlightActiveLine: boolean
highlightGutterLine: boolean
highlightIndentGuides: boolean
highlightSelectedWord: boolean
indentedSoftWrap: boolean
keyboardHandler: string
liveAutocompletionDelay: number
liveAutocompletionThreshold: number
maxLines: number
maxPixelHeight: number
mergeUndoDeltas: boolean | "always"
minLines: number
mode: string
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
showFoldWidgets: boolean
showFoldedAnnotations: boolean
showGutter: boolean
showInvisibles: boolean
showLineNumbers: boolean
showPrintMargin: boolean
tabSize: number
textInputAriaLabel: string
theme: string
tooltipFollowsMouse: boolean
useResizeObserver: boolean
useSoftTabs: boolean
useSvgGutterIcons: boolean
useWorker: boolean
vScrollBarAlwaysVisible: boolean
value: string
wrap: number | boolean | "off" | "free" | "printmargin"
wrapBehavioursEnabled: boolean
wrapMethod: "code" | "text" | "auto"

Generated using TypeDoc