IVsDifferenceCodeWindow2 Interface

Definition

Caution

This interface is provisional and may change in a minor release of VS.

An IVsCodeWindow that can support a difference view. If a Baseline is specified, the code window will display the differences between the baseline and the buffer. Otherwise, the code window just displays the buffer.

public interface class IVsDifferenceCodeWindow2 : Microsoft::VisualStudio::Editor::IVsDifferenceCodeWindow, Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow
[System.Obsolete("This interface is provisional and may change in a minor release of VS.")]
[System.Runtime.InteropServices.Guid("A9C196E4-DD76-4C04-B787-C55A7608D06E")]
public interface IVsDifferenceCodeWindow2 : Microsoft.VisualStudio.Editor.IVsDifferenceCodeWindow, Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow
[<System.Obsolete("This interface is provisional and may change in a minor release of VS.")>]
[<System.Runtime.InteropServices.Guid("A9C196E4-DD76-4C04-B787-C55A7608D06E")>]
type IVsDifferenceCodeWindow2 = interface
    interface IVsDifferenceCodeWindow
    interface IVsCodeWindow
Public Interface IVsDifferenceCodeWindow2
Implements IVsCodeWindow, IVsDifferenceCodeWindow
Attributes
Implements

Remarks

This interface is provisional and may change in subsequent releases of VS.

Properties

Baseline

The baseline used for the computing differences. Can be null.

Caption

The caption for the diff window's document tab..

(Inherited from IVsDifferenceCodeWindow)
Control

The FrameworkElement that contains the difference view.

(Inherited from IVsDifferenceCodeWindow)
DifferenceBuffer

The difference buffer used by the PrimaryDifferenceViewer and SecondaryDifferenceViewer (if it exists).

DifferenceViewer

The IWpfDifferenceViewer used by this code window.

(Inherited from IVsDifferenceCodeWindow)
InlineLabel

The label displayed above the inline view.

(Inherited from IVsDifferenceCodeWindow)
LeftLabel

The label displayed above the left view.

(Inherited from IVsDifferenceCodeWindow)
PrimaryDifferenceViewer

The difference viewer for the primary view code window. Will be null unless SupportsDiff is true.

RightLabel

The label displayed above the right view.

(Inherited from IVsDifferenceCodeWindow)
SecondaryDifferenceViewer

The difference viewer for the secondary view code window. Will be null unless SupportsDiff is true and the code window has been split.

SideBySideLabel

The label displayed above the side by side.

(Inherited from IVsDifferenceCodeWindow)
SupportsDiff

True if the code window supports setting the baseline. If false, Baseline will be null and attempting to set it will throw an InvalidOperationException.

Tooltip

The tooltip for the diff window's document tab..

(Inherited from IVsDifferenceCodeWindow)

Methods

Close()

Closes the code window.

(Inherited from IVsCodeWindow)
GetBuffer(IVsTextLines)

Returns the buffer used by all views in the code window.

(Inherited from IVsCodeWindow)
GetEditorCaption(READONLYSTATUS, String)

Returns the editor caption to which editors can append custom text.

(Inherited from IVsCodeWindow)
GetLastActiveView(IVsTextView)

Returns the last active view of the code window.

(Inherited from IVsCodeWindow)
GetPrimaryView(IVsTextView)

Returns the top (or primary) view of a split code window.

(Inherited from IVsCodeWindow)
GetSecondaryView(IVsTextView)

Returns the bottom (or secondary) view of a split code window.

(Inherited from IVsCodeWindow)
GetViewClassID(Guid)

Returns the text view class to change or query.

(Inherited from IVsCodeWindow)
SetBaseEditorCaption(String[])

Appends custom text to the editor caption

(Inherited from IVsCodeWindow)
SetBuffer(IVsTextLines)

Sets the text buffer for all views in the code window.

(Inherited from IVsCodeWindow)
SetViewClassID(Guid)

Sets the text view class to change or query.

(Inherited from IVsCodeWindow)

Applies to