Class
TaggerBase<T>

Tagger base abstraction.

Definition

Namespace:Telerik.Windows.SyntaxEditor.Core.Tagging

Assembly:Telerik.Windows.SyntaxEditor.Core.dll

Type Parameters:

T

Syntax:

cs-api-definition
public abstract class TaggerBase<T> : ITagger<T> where T : ITag

Inheritance: objectTaggerBase<T>

Derived Classes: FoldingTaggerBaseXmlTaggerLineHighlightTaggerTextSearchHighlightTaggerTextSearchUnderlineTaggerWordTaggerBase

Implements: ITagger<T>

Constructors

TaggerBase(ITextDocumentEditor)

Initializes a new instance of the TaggerBase<T> class.

Declaration

cs-api-definition
protected TaggerBase(ITextDocumentEditor editor)

Parameters

editor

ITextDocumentEditor

Properties

Document

Gets the text document.

Declaration

cs-api-definition
public TextDocument Document { get; }

Property Value

TextDocument

Editor

Gets the text document editor.

Declaration

cs-api-definition
public ITextDocumentEditor Editor { get; }

Property Value

ITextDocumentEditor

Methods

CallOnTagsChanged(Span)

Declaration

cs-api-definition
protected void CallOnTagsChanged(Span span)

Parameters

span

Span

GetTags(NormalizedSnapshotSpanCollection)

Gets the collection of tags.

Declaration

cs-api-definition
public abstract IEnumerable<TagSpan<T>> GetTags(NormalizedSnapshotSpanCollection spans)

Parameters

spans

NormalizedSnapshotSpanCollection

Returns

IEnumerable<TagSpan<T>>

Implements ITagger<T>.GetTags(NormalizedSnapshotSpanCollection)

OnTagsChanged(TagsChangedEventArgs)

Declaration

cs-api-definition
protected virtual void OnTagsChanged(TagsChangedEventArgs args)

Parameters

args

TagsChangedEventArgs

Events

TagsChanged

Occurs when tags collection is changed.

Declaration

cs-api-definition
public event EventHandler<TagsChangedEventArgs> TagsChanged

Event Value

EventHandler<TagsChangedEventArgs>

Implements ITagger<T>.TagsChanged