Color Syntax Highlighting

The internal editor also supports Color Syntax Highlighting. On the preferences pane you can select one of four color schemes. In most schemes entities that are used the first time are underlined; this helps to detect mistyped entity names. The examples in this document were colored using the ‘Standard’ color scheme.

In the preferences it is also possible to select to underline parse error locations. In this case you get instant feedback on syntax problems. Finally, it is also possible to request error messages for any error that has been underlined in the internal editor. These explanatory messages appear in the same window as compilation errors, but they are prefixed with ‘Hint’. If the error they refer to is corrected, they disappear.

Note that during text edit Msc-generator does not perform a full parsing of the text to enhance performance. For example, correctness of attribute names and values is not verified, merely syntax.