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

INormalizedTextChangeCollection.cs « Model « TextData « Def « Text « src - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 684d6c348348d2815e598130c555b17263e9820c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
//  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
{
    using System.Collections.Generic;

    /// <summary>
    /// A normalized list of <see cref="ITextChange"/> objects. Changes are sorted in ascending order of position,
    /// and abutting and overlapping changes are combined into a single change.
    /// </summary>
    /// <remarks>
    /// <see cref="INormalizedTextChangeCollection"/> objects are immutable.
    /// </remarks>
    public interface INormalizedTextChangeCollection : IList<ITextChange>
    {
        /// <summary>
        /// Determines whether any of the <see cref="ITextChange"/> objects in this list have a nonzero <see cref="ITextChange.LineCountDelta"/>.
        /// </summary>
        bool IncludesLineChanges { get; }
    }
}