IDifferenceBuffer3 Interface

Definition

public interface class IDifferenceBuffer3 : IDisposable, Microsoft::VisualStudio::Text::Differencing::IDifferenceBuffer2, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IDifferenceBuffer3 : IDisposable, Microsoft.VisualStudio.Text.Differencing.IDifferenceBuffer2, Microsoft.VisualStudio.Utilities.IPropertyOwner
type IDifferenceBuffer3 = interface
    interface IDifferenceBuffer2
    interface IDifferenceBuffer
    interface IDisposable
    interface IPropertyOwner
Public Interface IDifferenceBuffer3
Implements IDifferenceBuffer2, IDisposable, IPropertyOwner
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.

(Inherited from IDifferenceBuffer2)
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.

(Inherited from IDifferenceBuffer2)
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.

(Inherited from IDifferenceBuffer2)
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.

(Inherited from IDifferenceBuffer2)
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.

(Inherited from IDifferenceBuffer2)

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.

(Inherited from IDifferenceBuffer2)
BaseLeftBufferChanging

Raised whenever the BaseLeftBuffer is about to change 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