Condividi tramite


Microsoft.VisualStudio.Text.Tagging Namespace

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

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 Editor Extension Points.

Classes

  Class Description
Public class BatchedTagsChangedEventArgs Provides information for the BatchedTagsChanged event.
Public class ClassificationTag A tag that represents a classification type. An implementation of IClassificationTag.
Public class ErrorTag An implementation of IErrorTag.
Public class MappingTagSpan<T> The implementation of IMappingTagSpan<T>.
Public class OutliningRegionTag Represents a tag for outlining regions.
Public class SimpleTagger<T> Provides simple, thread-safe storage of and interaction with tags of the given type.
Public class SpaceNegotiatingAdornmentTag Represents a tag for a space-negotiating adornment. The tag is used to provide space for positioning the adornment in a view.
Public class TagsChangedEventArgs Provides information about the TagsChanged event.
Public class TagSpan<T> The implementation of ITagSpan<T>.
Public class TagTypeAttribute Declares the types of tags an ITagger<T> produces.
Public class TextMarkerTag Represents the text marker tag, which is used to place text marker adornments on a view.
Public class TrackingTagSpan<T> Associates an ITag with a given ITrackingSpan.
Public class UrlTag An implementation of IUrlTag.

Interfaces

  Interface Description
Public interface IBufferTagAggregatorFactoryService Creates an ITagAggregator<T> for an ITextBuffer.
Public interface IClassificationTag A tag that represents a classification type.
Public interface IErrorTag Represents an error, which is used to place squiggle adornments on the view.
Public interface IMappingTagSpan<T> Associates an ITag with a specified IMappingSpan.
Public interface IOutliningRegionTag Provides a tag for outlining regions.
Public interface ITag The base interface of all tags.
Public interface ITagAggregator<T> Aggregates all the tag providers in a buffer graph for the specified type of tag.
Public interface ITagger<T> A provider of tags over a buffer.
Public interface ITaggerProvider Creates an ITagger<T> for a given buffer.
Public interface ITagSpan<T> Associates an ITag with a given SnapshotSpan.
Public interface ITextMarkerTag Represents the text marker tag, which is used to place text marker adornments on a view.
Public interface IUrlTag A tag that represents a URL.
Public interface IViewTagAggregatorFactoryService A service that creates an ITagAggregator<T> for an ITextView.
Public interface IViewTaggerProvider Creates an ITagger<T> for a given buffer.

Enumerations

  Enumeration Description
Public enumeration TagAggregatorOptions Represents a set of options for aggregating tags.