I use since many years following syntax highlighting wordfile for setting files:
Note: The character between " and % on second line is a horizontal tab character and not a series of normal spaces.
There can be used font style bold or a different background color than usual for the first color group Sections.
Code: Select all
/L20"Settings" Nocase Line Comment = ; Line Comment Preceding Chars = [~0-9A-Za-z_] String Chars = "% DisableMLS File Extensions = INF INI PRJ PUI
/Delimiters = ! " %&'()*+,-./:;<=>?@[\]^{|}~
/Function String = "%^[^(*^)^]"
/Indent Strings = ""
/Unindent Strings = ""
/Open Fold Strings = "["
/Close Fold Strings = "["
/Ignore Fold Strings = "="
/Marker Characters = "[]"
/C1"Sections"
[]
/C2"Separators"
,
-
=
/C3"Variables"
%
There can be used font style bold or a different background color than usual for the first color group Sections.

