The Syntax Manager lets you create syntax highlighting rules for any file. The Syntax Manager can be opened by clicking the Syntax Manager button on the config for the text viewer or differ.
Example of the syntax rules at work
The Syntax Manager provides four simple highlighting rules, which can be combined to produce vivid highlighting for any language. Below is an example of the four rules working together to highlight an imaginary computer language.
Rule type | Example | Example result |
---|---|---|
Without syntax highlighting | ||
Keyword | ||
End of line | ||
Single line | ||
Multi line | ||
With all of the above rules |