Export (0) Print
Expand All

DifferenceViewerOptions Class

A set of options about the difference viewer display.

System.Object
  Microsoft.VisualStudio.Text.Differencing.DifferenceViewerOptions

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public static class DifferenceViewerOptions

The DifferenceViewerOptions type exposes the following members.

  NameDescription
Public fieldStatic memberHighlightModeIdThe ID of the option that specifies whether the DifferenceHighlightMode for the line changed markers.
Public fieldStatic memberHighlightModeNameThe name of the option that specifies whether the DifferenceHighlightMode for the line changed markers.
Public fieldStatic memberScrollToFirstDiffIdThe ID of the option that specifies whether or not to scroll to the first diff. If true, the difference viewer will scroll each contained view to the first visible difference after the files are compared. If false, the scrolled area is left alone.
Public fieldStatic memberScrollToFirstDiffNameThe name of the option that specifies whether or not to scroll to the first diff. If true, the difference viewer will scroll each contained view to the first visible difference after the files are compared. If false, the scrolled area is left alone.
Public fieldStatic memberSynchronizeSideBySideViewsIdThe ID of the option that specifies whether the views are to be synchronized. If true, the left and right views of the side by side view are aligned with each other. This option is ignored in the other view modes.
Public fieldStatic memberSynchronizeSideBySideViewsNameThe name of the option that specifies whether the views are to be synchronized. If true, the left and right views of the side by side view are aligned with each other. This option is ignored in the other view modes.
Public fieldStatic memberViewModeIdThe ID of the option that specifies the DifferenceViewMode the difference viewer should use (side-by-side, inline, one side at a time).
Public fieldStatic memberViewModeNameThe name of the option that specifies the DifferenceViewMode the difference viewer should use (side-by-side, inline, one side at a time).
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft