Class TaggerBase<T>
Tagger base abstraction.
Inheritance
System.Object
TaggerBase<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.SyntaxEditor.Core.Tagging
Assembly: Telerik.Windows.SyntaxEditor.Core.dll
Syntax
public abstract class TaggerBase<T> : 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
ITextDocumentEditor
editor
|
Properties
Document
Gets the text document.
Declaration
public TextDocument Document { get; }
Property Value
TextDocument
|
Editor
Gets the text document editor.
Declaration
public ITextDocumentEditor Editor { get; }
Property Value
ITextDocumentEditor
|
Methods
CallOnTagsChanged(Span)
GetTags(NormalizedSnapshotSpanCollection)
Declaration
public abstract IEnumerable<TagSpan<T>> GetTags(NormalizedSnapshotSpanCollection spans)
Parameters
NormalizedSnapshotSpanCollection
spans
|
Returns
System.Collections.Generic.IEnumerable<TagSpan<T>>
|
Implements
OnTagsChanged(TagsChangedEventArgs)
Declaration
protected virtual void OnTagsChanged(TagsChangedEventArgs args)
Parameters
TagsChangedEventArgs
args
|
Events
TagsChanged
Occurs when tags collection is changed.
Declaration
public event EventHandler<TagsChangedEventArgs> TagsChanged
Event Type
System.EventHandler<TagsChangedEventArgs>
|