Class TextSearchUnderlineTagger
Class TextSearchUnderlineTagger prepares collection of UnderlineTags for all occurrences of a given search word.
Inherited Members
Namespace: Telerik.Windows.Controls.SyntaxEditor.Tagging.Taggers
Assembly: Telerik.Windows.Controls.SyntaxEditor.dll
Syntax
public class TextSearchUnderlineTagger : TaggerBase<UnderlineTag>, ITagger<UnderlineTag>
Constructors
TextSearchUnderlineTagger(RadSyntaxEditor, ITextFormatDefinitionKey)
Initializes a new instance of the TextSearchUnderlineTagger class.
Declaration
public TextSearchUnderlineTagger(RadSyntaxEditor editor, ITextFormatDefinitionKey definitionKey)
Parameters
RadSyntaxEditor
editor
The editor. |
ITextFormatDefinitionKey
definitionKey
The ITextFormatDefinitionKey. |
Fields
ErrorUnderlineDefinition
The error underline definition.
Declaration
public static readonly ITextFormatDefinitionKey ErrorUnderlineDefinition
Field Value
ITextFormatDefinitionKey
|
WarningUnderlineDefinition
The warning underline definition.
Declaration
public static readonly ITextFormatDefinitionKey WarningUnderlineDefinition
Field Value
ITextFormatDefinitionKey
|
Methods
GetTags(NormalizedSnapshotSpanCollection)
Gets the tags.
Declaration
public override IEnumerable<TagSpan<UnderlineTag>> GetTags(NormalizedSnapshotSpanCollection spans)
Parameters
NormalizedSnapshotSpanCollection
spans
The spans. |
Returns
System.Collections.Generic.IEnumerable<TagSpan<UnderlineTag>>
|
Overrides
UpdateSearchWord(String)
Updates the search word.
Declaration
public void UpdateSearchWord(string newSearchWord)
Parameters
System.String
newSearchWord
The search word. |