Ace API Reference
    Preparing search index...
    Index

    Constructors

    • Constructs a new base DiffView instance.

      Parameters

      • OptionalinlineDiffEditor: boolean

        Whether to use an inline diff editor.

      • Optionalcontainer: HTMLElement

        optional container element for the DiffView.

      Returns BaseDiffView

    Properties

    $foldUnchangedOnInput: boolean
    $ignoreTrimWhitespace: boolean
    $maxComputationTimeMs: number
    $maxDiffs: number
    $onInputTimer: any
    $syncingFold: boolean
    $syncSelections: boolean
    $updatingSelection: boolean
    activeEditor: any
    chunks: DiffChunk[]
    container: HTMLElement
    currentDiffIndex: number
    diffProvider: { compute: (val1: any, val2: any, options: any) => any[] }
    diffSession: {
        chunks: DiffChunk[];
        sessionA: EditSession;
        sessionB: EditSession;
    }

    @type{{sessionA: EditSession, sessionB: EditSession, chunks: DiffChunk[]}}

    editorA: any
    editorB: any
    gutterDecoratorA: MinimalGutterDiffDecorator
    gutterDecoratorB: MinimalGutterDiffDecorator
    inlineDiffEditor: boolean
    markerA: DiffHighlight
    markerB: DiffHighlight
    otherEditor: any
    otherSession: EditSession
    realignPending: boolean
    savedOptionsA: Partial<EditorOptions>
    savedOptionsB: Partial<EditorOptions>
    selectionRangeA: any
    selectionRangeB: any
    sessionA: EditSession
    sessionB: EditSession
    showSideA: boolean
    syncSelectionMarkerA: SyncSelectionMarker
    syncSelectionMarkerB: SyncSelectionMarker

    Methods

    • Parameters

      • session: EditSession
      • w: { row: number; rowCount: number; rowsAbove: number }

      Returns void

    • Parameters

      • fromEditSession: EditSession
      • toEditSession: EditSession
      • fromLine: number
      • toLine: number

      Returns number

    • Parameters

      • Optionalsession: EditSession
      • Optionalvalue: string

      Returns Editor