blob: b39c3f8c89ed7914482d86cd5e9810a3690f5bf8 (
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
|
namespace Microsoft.VisualStudio.Text.Operations.Implementation
{
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Operations;
using Microsoft.VisualStudio.Utilities;
/// <summary>
/// Defines Expand Contract Selection Option.
/// </summary>
[Export(typeof(EditorOptionDefinition))]
[Name(ExpandContractSelectionOptions.ExpandContractSelectionEnabledOptionId)]
internal sealed class ExpandContractSelectionEnabled : EditorOptionDefinition<bool>
{
/// <summary>
/// Gets the default value, which is <c>false</c>.
/// </summary>
public override bool Default => true;
/// <summary>
/// Gets the default text view host value.
/// </summary>
public override EditorOptionKey<bool> Key => ExpandContractSelectionOptions.ExpandContractSelectionEnabledKey;
}
}
|