ISnapshotDifference Interface
A set of differences between two ITextSnapshots.
Namespace: Microsoft.VisualStudio.Data.Tools.Delta
Assembly: Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)
Syntax
'Declaration
Public Interface ISnapshotDifference
'Usage
Dim instance As ISnapshotDifference
public interface ISnapshotDifference
public interface class ISnapshotDifference
type ISnapshotDifference = interface end
public interface ISnapshotDifference
The ISnapshotDifference type exposes the following members.
Properties
Name | Description | |
---|---|---|
DifferenceSpans | The various difference spans as ITrackingSpans against the left or right buffer. | |
LeftBufferSnapshot | The snapshot of the left buffer used to compute this difference. | |
LineDifferences | The differences for this snapshot. | |
RightBufferSnapshot | The snapshot of the right buffer used to compute this difference. |
Top
Methods
Name | Description | |
---|---|---|
CalculateMovedLines | Gets an unordered enumeration of moved lines, as pairs of line numbers. These matches come from the removed and added regions (from the LineDifferences). |
Top