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

InternalOptions.cs « EditorOptions « TextUI « Def « Text « Editor « src - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3c23800dc172a84588eb472464e2ebace40b4242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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";
    }
}