TextViewTagger<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for a tagger that provides tags for a text view.
public abstract class TextViewTagger<T> : IDisposable where T : ITag
type TextViewTagger<'T (requires 'T :> ITag)> = class
interface IDisposable
Public MustInherit Class TextViewTagger(Of T)
Implements IDisposable
Type Parameters
- T
The type of tags generated by this tagger.
- Inheritance
-
TextViewTagger<T>
- Implements
Constructors
TextViewTagger<T>() |
Initializes a new instance of the TextViewTagger<T> class. |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
GetAllRequestedRangesAsync(ITextDocumentSnapshot, CancellationToken) |
Gets all the ranges for which tags have been requested so far. |
RequestTagsAsync(NormalizedTextRangeCollection, Boolean, CancellationToken) |
Requests the tagger to generate tags for the specified ranges. |
UpdateTagsAsync(IReadOnlyCollection<TextRange>, IEnumerable<TaggedTrackingTextRange<T>>, CancellationToken) |
Communicates to Visual Studio that new tags are available. |