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/EditorOptions/InternalOptions.cs')
-rw-r--r--src/Editor/Text/Def/TextUI/EditorOptions/InternalOptions.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Editor/Text/Def/TextUI/EditorOptions/InternalOptions.cs b/src/Editor/Text/Def/TextUI/EditorOptions/InternalOptions.cs
new file mode 100644
index 0000000..3c23800
--- /dev/null
+++ b/src/Editor/Text/Def/TextUI/EditorOptions/InternalOptions.cs
@@ -0,0 +1,30 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+// This file contain internal APIs that are subject to change without notice.
+// Use at your own risk.
+//
+namespace Microsoft.VisualStudio.Text.Editor
+{
+ /// <summary>
+ /// Various editor options that we shouldn't be made public.
+ /// </remarks>
+ internal static class InternalOptions
+ {
+ public const string SuppressOutliningOptionName = "SuppressOutlining";
+ public readonly static EditorOptionKey<bool> SuppressOutliningOptionId = new EditorOptionKey<bool>(SuppressOutliningOptionName);
+
+ /// <summary>
+ /// The option definition that determines the vertical scroll sensitivity in Editor.
+ /// </summary>
+ internal static readonly EditorOptionKey<int> EditorVerticalScrollSensitivityId = new EditorOptionKey<int>(EditorVerticalScrollSensitivityName);
+ internal const string EditorVerticalScrollSensitivityName = "EditorVerticalScrollSensitivity";
+
+ /// <summary>
+ /// The option definition that determines the horizontal scroll sensitivity in Editor.
+ /// </summary>
+ internal static readonly EditorOptionKey<int> EditorHorizontalScrollSensitivityId = new EditorOptionKey<int>(EditorHorizontalScrollSensitivityName);
+ internal const string EditorHorizontalScrollSensitivityName = "EditorHorizontalScrollSensitivity";
+ }
+}