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

IWhitespaceManager.cs « Document « TextData « Def « Text « Editor « src - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec590f274862e4e5090b54dfb31876e5b4c742ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace Microsoft.VisualStudio.Text.Document
{
    /// <summary>
    /// Subscribes to buffer change events and provides access to a <see cref="NewlineState"/>
    /// object and a <see cref="LeadingWhitespaceState"/> that are kept in sync with the state
    /// of the buffer provided at creation time.
    /// </summary>
    internal interface IWhitespaceManager
    {
        /// <summary>
        /// Gets an instance of <see cref="NewlineState"/> that is kept in sync with the buffer
        /// provided at creation time.
        /// </summary>
        NewlineState NewlineState { get; }

        /// <summary>
        /// Gets an instance of <see cref="LeadingWhitespaceState"/> that is kept in sync with the
        /// buffer provided at creation time.
        /// </summary>
        LeadingWhitespaceState LeadingWhitespaceState { get; }
    }
}