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

ProjectionBufferOptions.cs « Projection « Model « TextData « Def « Text « src - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: af047716c9230c944b2177c1b5fb75dc24d5d0b9 (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
31
32
33
//
//  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.Projection
{
    using System;

    /// <summary>
    /// Represents the options that apply to <see cref="IProjectionBuffer"/> objects.
    /// </summary>
    [Flags]
    public enum ProjectionBufferOptions
    {
        /// <summary>
        /// No special treatment.
        /// </summary>
        None = 0x00,

        /// <summary>
        /// Do not perform certain consistency checks on edge-inclusive source spans. 
        /// </summary>
        /// <remarks>
        /// See <see cref="IProjectionBuffer"/> for details.
        /// </remarks>
        PermissiveEdgeInclusiveSourceSpans = 0x01,

        /// <summary>
        /// Allow source spans that are string literals to be edited.
        /// </summary>
        WritableLiteralSpans = 0x02
    }
}