In This Article

CurrentStatementIndicatorTag Class

Represents an IIndicatorTag that renders a current statement marker over a text range.

public class CurrentStatementIndicatorTag : IndicatorClassificationTagBase, IIndicatorTag, IClassificationTag, ITag
Inheritance:
Object IndicatorTagBase IndicatorClassificationTagBase Object
Implements:
IIndicatorTag IClassificationTag ITag

Constructors

CurrentStatementIndicatorTag()

public CurrentStatementIndicatorTag()

Properties

ClassificationType

Gets the IClassificationType associated with the tag.

public override IClassificationType ClassificationType { get; }

Property Value

IClassificationType:

The IClassificationType associated with the tag.

Methods

DrawGlyph(TextViewDrawContext, ITextViewLine, TagSnapshotRange<IIndicatorTag>, Rect)

Draws the indicator's glyph in an editor view margin.

public override 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.

Inherited Members