IIndicatorTag Interface
Provides the base requirements for an indicator, which covers range of text and render a glyph in an editor's indicator margin for that range.
public interface IIndicatorTag : ITag
Properties
ContentProvider
Gets or sets the optional IContentProvider used to provide content for IntelliPrompt quick info popups or other UI.
IContentProvider ContentProvider { get; set; }
Property Value
- IContentProvider:
The optional IContentProvider used to provide content for IntelliPrompt quick info popups or other UI.
Tag
Gets or sets the object that contains user-defined data about the object.
object Tag { get; set; }
Property Value
Remarks
Any type derived from the Object class can be assigned to this property.
Methods
DrawGlyph(TextViewDrawContext, ITextViewLine, TagSnapshotRange<IIndicatorTag>, Rect)
Draws the indicator's glyph in an editor view margin.
void DrawGlyph(TextViewDrawContext context, ITextViewLine viewLine, TagSnapshotRange<IIndicatorTag> tagRange, Rect bounds)
Parameter | Type | Description |
---|---|---|
context | TextViewDrawContext | The TextViewDrawContext to use for rendering. |
viewLine | ITextViewLine | The ITextViewLine for which the glyph is rendered. |
tagRange | TagSnapshotRange<IIndicatorTag> | The ITag and the range it covers. |
bounds | Rect | The bounds in which the indicator will be rendered. |