Ace API Reference
    Preparing search index...

    Interface DiffViewOptions

    interface DiffViewOptions {
        folding?: boolean;
        ignoreTrimWhitespace?: boolean;
        maxDiffs?: number;
        showOtherLineNumbers?: boolean;
        syncSelections?: boolean;
        theme?: string | Ace.Theme;
        wrap?: boolean;
    }
    Index

    Properties

    folding?: boolean

    Whether to enable code folding widgets

    ignoreTrimWhitespace?: boolean

    Whether to ignore trimmed whitespace when computing diffs

    maxDiffs?: number

    Maximum number of diffs to compute before failing silently

    showOtherLineNumbers?: boolean

    Whether to show line numbers in the other editor's gutter

    syncSelections?: boolean

    Whether to synchronize selections between both editors

    theme?: string | Ace.Theme

    Theme to apply to both editors

    wrap?: boolean

    Whether to enable word wrapping in both editors