Class JsonTagger
Class defining JsonTagger programming language keywords and comments.
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.WinControls.UI.Taggers
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class JsonTagger : TaggerBase<ClassificationTag>, ITagger<ClassificationTag>
Constructors
JsonTagger(ITextDocumentEditor)
Initializes a new instance of the JsonTagger class.
Declaration
public JsonTagger(ITextDocumentEditor editor)
Parameters
ITextDocumentEditor
editor
The editor. |
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
Telerik.WinForms.SyntaxEditor.Core.Tagging.TaggerBase<Telerik.WinForms.SyntaxEditor.Core.Tagging.ClassificationTag>.GetTags(Telerik.WinForms.SyntaxEditor.Core.Text.NormalizedSnapshotSpanCollection)
PrepareRegexString(String, String, String, String, String, String)
Prepare the Regex string.
Declaration
protected virtual string PrepareRegexString(string keyWordRegex, string stringLiteralRegex, string numberRegex, string trueFalseNullRegex, string arrayStringRegex, string commentRegex)
Parameters
System.String
keyWordRegex
|
System.String
stringLiteralRegex
|
System.String
numberRegex
|
System.String
trueFalseNullRegex
|
System.String
arrayStringRegex
|
System.String
commentRegex
|
Returns
System.String
|