English | 日本語
Home > Merge > Merge for Windows > Documentation Contents > Syntax Highlighting

Syntax Highlighting

InformationTo reach this options page, select Options > 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.

Edit Generic...

Click this button to display a configurable list of file types associated with the Generic syntax highlighter. You can use this list to add support for file types not present in the list of supported languages.

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.