Class TextSearchUnderlineTagger
Class TextSearchUnderlineTagger prepares collection of UnderlineTags for all occurrences of a given search word.
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.Taggers
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class TextSearchUnderlineTagger : TaggerBase<UnderlineTag>, ITagger<UnderlineTag>
Constructors
TextSearchUnderlineTagger(RadSyntaxEditorElement, ITextFormatDefinitionKey)
Initializes a new instance of the TextSearchUnderlineTagger class.
Declaration
public TextSearchUnderlineTagger(RadSyntaxEditorElement editor, ITextFormatDefinitionKey definitionKey)
Parameters
RadSyntaxEditorElement
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. |