Next: , Previous: , Up: Internal Editor   [Contents]


7.4.2 Color Syntax Highlighting

The internal editor also supports Color Syntax Highlighting. On the Internal Editor pane you can select one of four color schemes. There are four pre-defined schemes: Minimal, Standard, Colorful and Error oriented. The first three applies increasing amount of color, while the last is a minimalist scheme but with potential errors heavily highlighted12. At the moment you can not customize individual colors in the schemes. 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 (see Hint Errors as You Type). 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 (see Hint Errors in Window). 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.


Footnotes

(12)

We note here that all four schemes underline entities at their first use. This is to help you avoid a mis-typed entity name.