DifferenceViewerOptions Class
A set of options about the difference viewer display.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Text.Differencing.DifferenceViewerOptions
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public NotInheritable Class DifferenceViewerOptions
public static class DifferenceViewerOptions
public ref class DifferenceViewerOptions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DifferenceViewerOptions = class end
public final class DifferenceViewerOptions
The DifferenceViewerOptions type exposes the following members.
Fields
Name | Description | |
---|---|---|
HighlightModeId | The ID of the option that specifies whether the DifferenceHighlightMode for the line changed markers. | |
HighlightModeName | The name of the option that specifies whether the DifferenceHighlightMode for the line changed markers. | |
ScrollToFirstDiffId | The 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. | |
ScrollToFirstDiffName | The 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. | |
SynchronizeSideBySideViewsId | The 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. | |
SynchronizeSideBySideViewsName | The 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. | |
ViewModeId | The ID of the option that specifies the DifferenceViewMode the difference viewer should use (side-by-side, inline, one side at a time). | |
ViewModeName | The name of the option that specifies the DifferenceViewMode the difference viewer should use (side-by-side, inline, one side at a time). |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.