SyntaxHighlighter.Highlighter
This is the main class that performs all the highlighting work and it’s the base class for developing custom brushes. Each brush extends this class and adds its own custom lexicon and rules. Here are the properties and methods of interest:
| Name | Type | Description |
|---|---|---|
getKeywords | Function | Converts space separated keywords into usable regular expression to match these keywords. |
forHtmlScript | Function | Sets up the brush for html-script functionality. |