IDifferenceBuffer2 Interface

Definition

public interface class IDifferenceBuffer2 : IDisposable, Microsoft::VisualStudio::Text::Differencing::IDifferenceBuffer, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IDifferenceBuffer2 : IDisposable, Microsoft.VisualStudio.Text.Differencing.IDifferenceBuffer, Microsoft.VisualStudio.Utilities.IPropertyOwner
type IDifferenceBuffer2 = interface
    interface IDifferenceBuffer
    interface IDisposable
    interface IPropertyOwner
Public Interface IDifferenceBuffer2
Implements IDifferenceBuffer, IDisposable, IPropertyOwner
Derived
Implements

Properties

BaseLeftBuffer

The source of the left buffer in the difference.

(Inherited from IDifferenceBuffer)
BaseRightBuffer

The source of the right buffer in the difference.

(Inherited from IDifferenceBuffer)
CurrentInlineBufferSnapshot

The snapshot of InlineBuffer that corresponds to the state at which CurrentSnapshotDifference is current.

(Inherited from IDifferenceBuffer)
CurrentSnapshotDifference

The currently-used snapshot difference that matches up with the current snapshot of InlineBuffer.

(Inherited from IDifferenceBuffer)
DifferenceOptions

Used to get or set the options used in differencing the two buffers. These options are used in calls to the IHierarchicalStringDifferenceService that performs the actual comparison.

(Inherited from IDifferenceBuffer)
HasFixedBaseLeftBuffer

True if the BaseLeftBuffer can never change. If false, the BaseLeftBuffer can change (via setting the InnerLeftDataModel) and can be null.

InlineBuffer

The top-level buffer, which contains the differences combined.

(Inherited from IDifferenceBuffer)
InlineDataModel

The ITextDataModel for the inline buffer. This can be created even if BaseLeftBuffer is null.

InnerLeftDataModel

The ITextDataModel actual ITextDataModel for the BaseLeftBuffer. This value is only meaningful if HasFixedBaseLeftBuffer is false. Set InnerLeftDataModel to null to set the difference buffer's BaseLeftBuffer to null.

IsEditingDisabled

Is editing disabled in this IDifferenceBuffer?

(Inherited from IDifferenceBuffer)
LeftBuffer

The left buffer of the difference.

(Inherited from IDifferenceBuffer)
LeftDataModel

The ITextDataModel for the BaseLeftBuffer. This can be created even if BaseLeftBuffer is null.

Options

Used to modify general difference buffer options (DifferenceBufferOptions).

(Inherited from IDifferenceBuffer)
Properties

The collection of properties controlled by the property owner.

(Inherited from IPropertyOwner)
RightBuffer

The right buffer in the difference.

(Inherited from IDifferenceBuffer)
RightDataModel

The ITextDataModel for the right buffer.

Methods

AddIgnoreDifferencePredicate(IgnoreDifferencePredicate)

Add a predicate to selectively ignore differences.

(Inherited from IDifferenceBuffer)
AddSnapshotLineTransform(SnapshotLineTransform)

Add a custom SnapshotLineTransform, which can modify lines of text before they are compared.

(Inherited from IDifferenceBuffer)
RemoveIgnoreDifferencePredicate(IgnoreDifferencePredicate)

Remove a predicate previously added with AddIgnoreDifferencePredicate(IgnoreDifferencePredicate).

(Inherited from IDifferenceBuffer)
RemoveSnapshotLineTransform(SnapshotLineTransform)

Remove a custom SnapshotLineTransform previously added with AddSnapshotLineTransform(SnapshotLineTransform).

(Inherited from IDifferenceBuffer)

Events

BaseLeftBufferChanged

Raised whenever the BaseLeftBuffer is changed to a different buffer.

SnapshotDifferenceChanged

Raised when the CurrentSnapshotDifference and InlineBuffer have changed.

(Inherited from IDifferenceBuffer)
SnapshotDifferenceChanging

Raised immediately before the CurrentSnapshotDifference and InlineBuffer are updated.

(Inherited from IDifferenceBuffer)

Applies to