LineHighlightTagger
Class
Class LineHighlightTagger which prepares collection of TextHighlightTags for a collection of lines.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.Tagging.Taggers
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
C#
public class LineHighlightTagger : TaggerBase<TextHighlightTag>, ITagger<TextHighlightTag>
Inheritance: objectTaggerBase<TextHighlightTag>LineHighlightTagger
Implements:
Inherited Members
Constructors
Initializes a new instance of the LineHighlightTagger class.
C#
public LineHighlightTagger(RadSyntaxEditor editor, ITextFormatDefinitionKey formatDefinitionKey)
Fields
The line highlight format definition.
C#
public static readonly ITextFormatDefinitionKey LineHighlightFormatDefinition
Properties
Determines what part of the line will be highlighted by the tagger.
C#
public LineHighlightMode HighlightMode { get; set; }
Methods
Gets a collection of TextHighlightTag tags.
C#
public override IEnumerable<TagSpan<TextHighlightTag>> GetTags(NormalizedSnapshotSpanCollection spans)
IEnumerable<TagSpan<TextHighlightTag>>
Overrides:
Updates the highlighted lines.
C#
public void HighlightLines(IEnumerable<int> lines)
The lines to highlight.