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

IBlockContext.cs « Adornments « TextUI « Def « Text « src - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 229eaf1bb06798b152693f33c9212f4e6ff99ae5 (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
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;

namespace Microsoft.VisualStudio.Text.Adornments
{
    /// <summary>
    /// Defines the block context used to display structural block information.
    /// </summary>
    public interface IBlockContext
    {
        /// <summary>
        /// Gets the content that will be displayed in the tool tip, including hierarchical parent content.
        /// </summary>
        object Content { get; }

        /// <summary>
        /// Gets the block tag associated with this context.
        /// </summary>
        IBlockTag BlockTag { get; }
        
        /// <summary>
        /// Gets the text view associated with this context.
        /// </summary>
        ITextView TextView { get; }
    }
}