Class XmlTagger
Class for tagging XML language words in a text.
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.Taggers
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class XmlTagger : TaggerBase<ClassificationTag>, ITagger<ClassificationTag>
Constructors
XmlTagger(ITextDocumentEditor)
Initializes a new instance of the XmlTagger class.
Declaration
public XmlTagger(ITextDocumentEditor editor)
Parameters
ITextDocumentEditor
editor
|
Properties
EnableMultilineTags
Gets or sets a value indicating whether multiline tags are collected by this tagger instance. The method RebuildMultilineTags() process all document and collects Multiline tags in the MultilineTags property.
Declaration
public bool EnableMultilineTags { get; set; }
Property Value
System.Boolean
|
MultilineTags
The list of multiline ClassificationTags wrapped in TagSpans.
Declaration
protected IList<TagSpan<ClassificationTag>> MultilineTags { get; }
Property Value
System.Collections.Generic.IList<TagSpan<ClassificationTag>>
|
Methods
GetTags(NormalizedSnapshotSpanCollection)
Gets the tags.
Declaration
public override IEnumerable<TagSpan<ClassificationTag>> GetTags(NormalizedSnapshotSpanCollection spans)
Parameters
NormalizedSnapshotSpanCollection
spans
|
Returns
System.Collections.Generic.IEnumerable<TagSpan<ClassificationTag>>
|
Overrides
InvalidateMultilineTags()
Clears all multiline tags and rebuilds them.
Declaration
protected virtual void InvalidateMultilineTags()
RebuildMultilineTags()
Rebuilds the MultilineTags collection.
Declaration
protected virtual void RebuildMultilineTags()