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.

Syntax Manager

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 No syntax highlighting
Keyword Keyword rule Keyword result
End of line End of line rule End of line result
Single line Single line rule Single line result
Multi line Multi line rule Multi line result
  With all of the above rules All rules