Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/scm
browser/merge-editor/model/live-diff
LiveDiff
Class LiveDiff
Implements
Disposable
Index
Constructors
constructor
Properties
changes
Observable
diff
Computer
modified
Document
original
Document
recompute
Count
state
Observable
to
Dispose
Accessors
changes
state
Methods
dispose
recompute
Constructors
constructor
new
LiveDiff
(
originalDocument
:
MonacoEditorModel
,
modifiedDocument
:
MonacoEditorModel
,
diffComputer
:
DiffComputer
,
)
:
LiveDiff
Parameters
originalDocument
:
MonacoEditorModel
modifiedDocument
:
MonacoEditorModel
diffComputer
:
DiffComputer
Returns
LiveDiff
Properties
Protected
Readonly
changes
Observable
changesObservable
:
Settable
<
readonly
DetailedLineRangeMapping
[]
,
void
>
= ...
Protected
Readonly
diff
Computer
diffComputer
:
DiffComputer
Protected
Readonly
modified
Document
modifiedDocument
:
MonacoEditorModel
Protected
Readonly
original
Document
originalDocument
:
MonacoEditorModel
Protected
recompute
Count
recomputeCount
:
number
= 0
Protected
Readonly
state
Observable
stateObservable
:
Settable
<
LiveDiffState
,
void
>
= ...
Protected
Readonly
to
Dispose
toDispose
:
DisposableCollection
= ...
Accessors
changes
get
changes
()
:
readonly
DetailedLineRangeMapping
[]
Returns
readonly
DetailedLineRangeMapping
[]
state
get
state
()
:
LiveDiffState
Returns
LiveDiffState
Methods
dispose
dispose
()
:
void
Dispose this object.
Returns
void
Protected
recompute
recompute
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
changes
Observable
diff
Computer
modified
Document
original
Document
recompute
Count
state
Observable
to
Dispose
Accessors
changes
state
Methods
dispose
recompute
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
Dispose this object.