Properties
$foldUnchangedOnInput
$foldUnchangedOnInput: boolean
$ignoreTrimWhitespace
$ignoreTrimWhitespace: boolean
$maxComputationTimeMs
$maxComputationTimeMs: number
$maxDiffs
$maxDiffs: number
$onInputTimer
$onInputTimer: any
$syncSelections
$syncSelections: boolean
$syncingFold
$syncingFold: boolean
$updatingSelection
$updatingSelection: boolean
activeEditor
activeEditor: any
container
container: HTMLElement
currentDiffIndex
currentDiffIndex: number
diffProvider
diffProvider: {
compute: ((val1, val2, options) => any[]);
}
Type declaration
compute: ((val1, val2, options) => any[])
- (val1, val2, options): any[]
Parameters
val1: any
val2: any
options: any
Returns any[]
diffSession
diffSession: { chunks: DiffChunk[]; sessionA: EditSession; sessionB: EditSession; } Type declaration
sessionA: EditSession
sessionB: EditSession
inlineDiffEditor
inlineDiffEditor: boolean
otherEditor
otherEditor: any
otherSession
otherSession: EditSession
realignPending
realignPending: boolean
savedOptionsA
savedOptionsA: Partial<EditorOptions>
savedOptionsB
savedOptionsB: Partial<EditorOptions>
selectionRangeA
selectionRangeA: any
selectionRangeB
selectionRangeB: any
sessionA
sessionA: EditSession
sessionB
sessionB: EditSession
showSideA
showSideA: boolean
syncSelectionMarkerA
syncSelectionMarkerA: SyncSelectionMarker
syncSelectionMarkerB
syncSelectionMarkerB: SyncSelectionMarker
Constructs a new base DiffView instance.