Oxygen XML supports syntax
highlight for XML, JavaScript / JSON, PHP,CSS documents. While Oxygen XML provides a default color
configuration for highlighting the tokens, you can choose to customize it, using the Colors
options
panel.
The Colors
options panel
is opened from menu .
Each document type has an associated set of tokens. When a document type node is expanded,
the associated tokens are listed. For each token, you can customize the color and the font
style. These properties are used in
Text mode of the editor panel. The
tokens for XML documents are used also in XSD, XSL, RNG documents.
Note: The
Preview area contains 4 tabs that allow you to preview XML, XSD,
XSL, RNG sample files as they are rendered in Oxygen XML.
When you do not
know the name of the token that you want to configure, select a token by clicking directly on
that type of token in the
Preview area.
You can edit the following color properties of the selected token:
The Enable nested syntax highlight option controls if different content
types mixed in the same file (like PHP, JS and CSS scripts inside an HTML file) are
highlighted according with the color schemes defined for each content type.