Class SqlTagger
Class defining T-SQL (Transact-SQL) programming language keywords and comments.
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.Taggers
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class SqlTagger : WordTaggerBase, ITagger<ClassificationTag>
Constructors
SqlTagger(RadSyntaxEditorElement)
Initializes a new instance of the SqlTagger class.
Declaration
public SqlTagger(RadSyntaxEditorElement editor)
Parameters
RadSyntaxEditorElement
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
System.String
|
Overrides
Methods
GetCharType(Char)
Gets the type of the SQL char. 3 - SQL commenting char, 2 - punctuation or symbol, 1 - whitespace, 0 - letter and all other chars.
Declaration
protected override int GetCharType(char character)
Parameters
System.Char
character
|
Returns
System.Int32
|
Overrides
GetWordsToClassificationTypes()
Gets the words to classification types.
Declaration
protected override Dictionary<string, ClassificationType> GetWordsToClassificationTypes()
Returns
System.Collections.Generic.Dictionary<System.String, ClassificationType>
|
Overrides
OnWordSplit(Int32, String)
Called when a word is split during processing of a line string.
Declaration
protected override void OnWordSplit(int wordCharType, string word)
Parameters
System.Int32
wordCharType
|
System.String
word
|
Overrides
RebuildMultilineTags()
Rebuilds the MultilineTags collection.
Declaration
protected override void RebuildMultilineTags()
Overrides
SkipWord(String, Nullable<Char>)
Declaration
protected override bool SkipWord(string word, char? nextChar = default(char? ))
Parameters
System.String
word
|
System.Nullable<System.Char>
nextChar
|
Returns
System.Boolean
|