Class TaggerBase<T>
Tagger base abstraction.
Inheritance
System.Object
TaggerBase<T>
Namespace: Telerik.Windows.SyntaxEditor.Core.Tagging
Assembly: Telerik.Windows.SyntaxEditor.Core.dll
Syntax
public abstract class TaggerBase<T> : Object, ITagger<T> where T : ITag
Type Parameters
T
|
Constructors
TaggerBase(ITextDocumentEditor)
Initializes a new instance of the TaggerBase<T> class.
Declaration
protected TaggerBase(ITextDocumentEditor editor)
Parameters
IText
|
Properties
Document
Gets the text document.
Declaration
public TextDocument Document { get; }
Property Value
Editor
Gets the text document editor.
Declaration
public ITextDocumentEditor Editor { get; }
Property Value
Methods
CallOnTagsChanged(Span)
GetTags(NormalizedSnapshotSpanCollection)
Declaration
public abstract IEnumerable<TagSpan<T>> GetTags(NormalizedSnapshotSpanCollection spans)
Parameters
Returns
System.
|
Implements
OnTagsChanged(TagsChangedEventArgs)
Declaration
protected virtual void OnTagsChanged(TagsChangedEventArgs args)
Parameters
Tags
|
Events
TagsChanged
Occurs when tags collection is changed.
Declaration
public event EventHandler<TagsChangedEventArgs> TagsChanged
Event Type
System.
|