ClassCSharpTagger
Class defining C# programming language keywords and comments.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.Tagging.Taggers
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
public class CSharpTagger : WordTaggerBase, ITagger<ClassificationTag>
Inheritance: objectTaggerBase<ClassificationTag>WordTaggerBaseCSharpTagger
Implements:
Inherited Members
Constructors
CSharpTagger(RadSyntaxEditor)
Initializes a new instance of the CSharpTagger class.
Declaration
public CSharpTagger(RadSyntaxEditor editor)
Parameters
editor
The editor.
Properties
StringMatchingRegex
Gets or sets the regex pattern used to match strings in the documents which this tagger recognizes.
Declaration
protected override string StringMatchingRegex { get; set; }
Property Value
Overrides
Methods
GetCharType(char)
Gets the type of the CSharp char. 3 - CSharp commenting char, 2 - punctuation or symbol, 1 - whitespace, 0 - preprocessor, letter and all other chars.
GetWordsToClassificationTypes()
Gets the words to classification types.
Declaration
protected override Dictionary<string, ClassificationType> GetWordsToClassificationTypes()
Returns
Dictionary<string, ClassificationType>
Overrides
OnWordSplit(int, string)
Called when a word is split during processing of a line string.
RebuildMultilineTags()
Rebuilds the MultilineTags collection.
Declaration
protected override void RebuildMultilineTags()
Overrides