ClassTaggerBase<T>
Class
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:
Implements:
Constructors
TaggerBase(ITextDocumentEditor)
Initializes a new instance of the TaggerBase<T> class.
Declaration
cs-api-definition
protected TaggerBase(ITextDocumentEditor editor)
Parameters
editor
Properties
Document
Gets the text document.
Editor
Gets the text document editor.
Declaration
cs-api-definition
public ITextDocumentEditor Editor { get; }
Property Value
Methods
GetTags(NormalizedSnapshotSpanCollection)
Gets the collection of tags.
Declaration
cs-api-definition
public abstract IEnumerable<TagSpan<T>> GetTags(NormalizedSnapshotSpanCollection spans)
Parameters
spans
Returns
IEnumerable<TagSpan<T>>
Implements
OnTagsChanged(TagsChangedEventArgs)
Declaration
cs-api-definition
protected virtual void OnTagsChanged(TagsChangedEventArgs args)
Parameters
args
Events
TagsChanged
Occurs when tags collection is changed.
Declaration
cs-api-definition
public event EventHandler<TagsChangedEventArgs> TagsChanged
Event Value
Implements