<oXygen/> supports Syntax Highlight for XML, JavaScript, PHP,CSS documents. While <oXygen/> provides a default color configuration for highlighting the tokens, you may choose to customize, as required, using the Colors dialog.
The Colors preferences panel is opened from menu → +Editor+Colors
Choose one of the supported document types. Each document type contains a set of tokens. The tokens for XML documents are used also in XSD, XSL, RNG documents so the Preview area has 4 tabs when an XML token is selected in the Element area for viewing the rendered result in all four types of documents: XML, XSD, XSL, RNG. When a document type node is expanded, the associated tokens are listed. Selecting a token displays the current color properties and enables you to modify them. You can also select a token by clicking directly in the preview area on that type of token.
You can edit the following color properties of the selected token:
The Foreground button opens a color dialog that allow setting the color properties for the selected token with one of the methods: Swatches, HSB or RGB.
Displays a color palette containing a variety of colors from across the color spectrum and shades thereof. Select a color.
Hue, Saturation and Brightness (HSB) enables you to specify a color by describing it using hue, saturation and brightness.
Red, Green and Blue (RGB) enables you to specify a color using triplets of red, green and blue numbers.
The Background button opens the same color dialog as the Foreground button.
This checkbox enables the bold variant of the font for the selected token. This property is not applied to a bidirectional document.
This checkbox enables the italic variant of the font for the selected token. This property is not applied to a bidirectional document.
The Preview panel displays the appearance of all token colors in a sample document as they will be rendered in the editor.
Modifications are saved when the OK button is clicked. Cancel discards changes. Restore Defaults button changes all the token colors to the default values.