Ace API Reference
    Preparing search index...

    Interface DiffModel

    interface DiffModel {
        diffProvider?: IDiffProvider;
        editorA?: Editor;
        editorB?: Editor;
        inline?: "a" | "b";
        sessionA?: EditSession;
        sessionB?: EditSession;
        valueA?: string;
        valueB?: string;
    }
    Index

    Properties

    diffProvider?: IDiffProvider

    Provider for computing differences between original and modified content.

    editorA?: Editor

    The editor for the original view.

    editorB?: Editor

    The editor for the edited view.

    inline?: "a" | "b"

    Whether to show the original view("a") or modified view("b") for inline diff view

    sessionA?: EditSession

    The edit session for the original view.

    sessionB?: EditSession

    The edit session for the edited view.

    valueA?: string

    The original content.

    valueB?: string

    The modified content.