To reach this options page, select View > Options... > Text Comparisons > Syntax Highlighting
Merge provides syntax-based colouring for several commonly-used programing languages and text file formats. The controls on this page enable you to enable or disable syntax highlighting and to customise the colours used for syntactic elements in these languages and file formats.
Use syntax highlighting in text comparisons
Check this box to enable syntax highlighting within compared text files.
Supported languages
This control contains a list of the languages that support syntax highlighting. Choose a language from the list if you would like to change the colours used for syntactic elements of that language. A list of elements for the selected language appears in the control below this one.
Syntactic elements for the selected language
This control contains a list of the colourable syntactic elements of the language selected in the languages list above. Double-click on an item to edit its colour, or select it and choose a colour from the drop-down colour palette below.
Colour for selected element
Click this button to change the colour associated with a language element selected in the list above.
| Related topics |
|---|
