Ace API Reference
    Preparing search index...

    Interface TextAreaOptions

    interface TextAreaOptions {
        fontSize?: string;
        keybindings?: string;
        mode?: string;
        showGutter?: string | boolean;
        showInvisibles?: string | boolean;
        showPrintMargin?: string | boolean;
        theme?: string;
        useSoftTabs?: string | boolean;
        wrap?: string | number;
    }
    Index

    Properties

    fontSize?: string

    Font size in CSS units (e.g., "12px", "14px", "16px")

    keybindings?: string

    Keyboard handler/bindings to use - "ace", "vim", or "emacs"

    mode?: string

    Programming language mode for syntax highlighting (e.g., "javascript", "html", "css")

    showGutter?: string | boolean

    Whether to display the line number gutter on the left side

    showInvisibles?: string | boolean

    Whether to show invisible characters like spaces and tabs

    showPrintMargin?: string | boolean

    Whether to show the print margin indicator line

    theme?: string

    Visual theme for the editor appearance (e.g., "textmate", "monokai", "eclipse")

    useSoftTabs?: string | boolean

    Whether to use soft tabs (spaces) instead of hard tabs

    wrap?: string | number

    Line wrapping behavior - "off", "free", or specific column number like "40", "80"