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/Text/Def/Internal/TextUI/ViewRelativePosition2.cs')
-rw-r--r--src/Text/Def/Internal/TextUI/ViewRelativePosition2.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Text/Def/Internal/TextUI/ViewRelativePosition2.cs b/src/Text/Def/Internal/TextUI/ViewRelativePosition2.cs
index adbb0ca..2152d22 100644
--- a/src/Text/Def/Internal/TextUI/ViewRelativePosition2.cs
+++ b/src/Text/Def/Internal/TextUI/ViewRelativePosition2.cs
@@ -40,6 +40,15 @@ namespace Microsoft.VisualStudio.Text.Editor
/// <summary>
/// The offset with respect to the bottom of the view to the bottom of the text on the line.
/// </summary>
- TextBottom
+ TextBottom,
+
+ /// <summary>
+ /// The offset is with respect to the BaseLine of the line containing bufferPosition.
+ /// </summary>
+ /// <remarks>
+ /// If this positioning mode is used (and only this positioning mode), then bufferPosition can be default(SnapshotPoint).
+ /// If a default(SnapshotPoint) is used or one is given but that line is not visible, then the view will pick an appropriate line to use.
+ /// </remarks>
+ Baseline
}
-} \ No newline at end of file
+}