Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs')
-rw-r--r--src/Editor/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Editor/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs b/src/Editor/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs
new file mode 100644
index 0000000..4fa82c0
--- /dev/null
+++ b/src/Editor/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs
@@ -0,0 +1,27 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+namespace Microsoft.VisualStudio.Text.Differencing
+{
+ /// <summary>
+ /// The highlight mode for this <see cref="IDifferenceViewer"/>.
+ /// </summary>
+ public enum DifferenceHighlightMode2
+ {
+ /// <summary>
+ /// In this mode, line differences should be displayed only to the last character on each line.
+ /// </summary>
+ CodeContour = DifferenceHighlightMode.CodeContour,
+
+ /// <summary>
+ /// In this mode, line differences should be displayed so that they take up the entire width of the viewport.
+ /// </summary>
+ WholeLine = DifferenceHighlightMode.WholeLine,
+
+ /// <summary>
+ /// In this mode, line and word differences are shown as outlined rectangles.
+ /// </summary>
+ BlockOutline
+ }
+}