Microsoft.VisualStudio.Text.Tagging Namespace

Tagging is a way of adding markers to spans of text in the editor.

Classes

BatchedTagsChangedEventArgs

Provides information for the BatchedTagsChanged event.

BlockTag

An implementation of IBlockTag.

ClassificationTag

A tag that represents a classification type. An implementation of IClassificationTag.

ErrorTag

An implementation of IErrorTag.

MappingTagSpan<T>

The implementation of IMappingTagSpan<T>.

OutliningRegionTag

Represents a tag for outlining regions.

OverviewMarkTag

An implementation of IOverviewMarkTag.

SimpleTagger<T>

Provides simple, thread-safe storage of and interaction with tags of the given type.

SpaceNegotiatingAdornmentTag

Represents a tag for a space-negotiating adornment. The tag is used to provide space for positioning the adornment in a view.

StructureTag

An implementation of IStructureTag.

TagsChangedEventArgs

Provides information about the TagsChanged event.

TagSpan<T>

The implementation of ITagSpan<T>.

TagTypeAttribute

Declares the types of tags an ITagger<T> produces.

TextMarkerTag

Represents the text marker tag, which is used to place text marker adornments on a view.

TrackingTagSpan<T>

Associates an ITag with a given ITrackingSpan.

UrlTag

An implementation of IUrlTag.

Interfaces

IAccurateTagAggregator<T>

Aggregates all the tag providers in a buffer graph for the specified type of tag.

IAccurateTagger<T>

A provider of tags over a buffer.

IBlockTag

Represents a structural code block, which is used for vertical structural line adornments.

IBufferTagAggregatorFactoryService

Creates an ITagAggregator<T> for an ITextBuffer.

IClassificationTag

A tag that represents a classification type.

IErrorTag

Represents an error, which is used to place squiggle adornments on the view.

IMappingTagSpan<T>

Associates an ITag with a specified IMappingSpan.

IOutliningRegionTag

Provides a tag for outlining regions.

IOverviewMarkTag

Provides the information needed to render a mark in the overview margin.

IStructureTag

Represents a structural code block, which is used for vertical structural line adornments and outlining collapse regions.

ITag

The base interface of all tags.

ITagAggregator<T>

Aggregates all the tag providers in a buffer graph for the specified type of tag.

ITagger<T>

A provider of tags over a buffer.

ITaggerProvider

Creates an ITagger<T> for a given buffer.

ITagSpan<T>

Associates an ITag with a given SnapshotSpan.

ITextMarkerTag

Represents the text marker tag, which is used to place text marker adornments on a view.

IUrlTag

A tag that represents a URL.

IViewTagAggregatorFactoryService

A service that creates an ITagAggregator<T> for an ITextView.

IViewTaggerProvider

Creates an ITagger<T> for a given buffer.

Enums

TagAggregatorOptions

Represents a set of options for aggregating tags.

Remarks

For more information about tagging, see the "Tags and Classifiers" section of Inside the Editor. For information about extending and adding tags, see the "Extending Tags" section of Language Service and Editor Extension Points.