Compartilhar via


IDifferenceViewer2 Interface

Definition

public interface class IDifferenceViewer2 : Microsoft::VisualStudio::Text::Differencing::IDifferenceViewer, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IDifferenceViewer2 : Microsoft.VisualStudio.Text.Differencing.IDifferenceViewer, Microsoft.VisualStudio.Utilities.IPropertyOwner
type IDifferenceViewer2 = interface
    interface IDifferenceViewer
    interface IPropertyOwner
Public Interface IDifferenceViewer2
Implements IDifferenceViewer, IPropertyOwner
Derived
Implements

Properties

ActiveViewType

Identifies the active view that last had focus.

(Inherited from IDifferenceViewer)
AreViewsSynchronized

Are the left and right views are synchronized in the side by side view.

(Inherited from IDifferenceViewer)
DifferenceBuffer

The IDifferenceBuffer that this viewer is displaying.

(Inherited from IDifferenceViewer)
InlineView

The view for displaying Inline differences.

(Inherited from IDifferenceViewer)
InlineViewExists

Does the Inline view exist?

IsClosed

Determine if this viewer is closed.

(Inherited from IDifferenceViewer)
LeftView

The view for displaying the left buffer for SideBySide differences.

(Inherited from IDifferenceViewer)
LeftViewExists

Does the left view exist?

Options

Used to get or set general difference viewer options (DifferenceViewerOptions).

(Inherited from IDifferenceViewer)
Properties

The collection of properties controlled by the property owner.

(Inherited from IPropertyOwner)
RightView

The view for displaying the right buffer for SideBySide differences.

(Inherited from IDifferenceViewer)
RightViewExists

Does the right view exist?

ViewMode

The view mode (inline or side-by-side).

(Inherited from IDifferenceViewer)

Methods

Close()

Close the viewer and all contained hosts.

(Inherited from IDifferenceViewer)
ScrollToChange(Difference)

Scroll and move the caret to the start of the given difference.

(Inherited from IDifferenceViewer)
ScrollToMatch(Match)

Scroll and move the caret to the start of the given match.

(Inherited from IDifferenceViewer)
ScrollToNextChange(Boolean)

Given the cursor position in the last focused text view, scroll and move the caret to the next difference.

(Inherited from IDifferenceViewer)
ScrollToNextChange(SnapshotPoint, Boolean)

Scroll and move the caret to the next difference after the specified location.

(Inherited from IDifferenceViewer)
ScrollToPreviousChange(Boolean)

Given the cursor position in the last focused text view, scroll and move the caret to the previous difference.

(Inherited from IDifferenceViewer)
ScrollToPreviousChange(SnapshotPoint, Boolean)

Scroll and move the caret to the previous difference before the specified location.

(Inherited from IDifferenceViewer)

Events

Closed

Raised when the view is closed.

(Inherited from IDifferenceViewer)
ViewModeChanged

Raised when the ViewMode changes.

(Inherited from IDifferenceViewer)

Applies to