Home >Online Product Documentation >Table of Contents >Use of Colors in the Text Tab
Use of Colors in the Text Tab
Stylus Studio text editors use colors to distinguish the types of data in XML documents. The default colors for the XML Editor are described in the Table 14.
Color
|
Type of Data
|
|---|
White
|
Document background
|
Royal blue
|
Markup
|
Black
|
XML declaration and text node contents
|
Pale blue
|
Schema definition
|
Purple
|
Element names defined in the DTD
|
Red
|
Attribute names
|
Dark blue
|
Attribute values
|
Orange
|
Element names not defined in the DTD
|
Table 14. Text Colors in Stylus Studio
How to Change Colors
You can set colors for the text editors associated with different document types (XML, XQuery, XSLT, and so on) individually.
To change colors:
1. Select Tools>Options to display the Options dialog box.
2. Click Editor Format.
3. Select the editor type from the Editor drop-down list.
4. Set the font, size, and color for different document categories as desired.
5. Click OK to close the Options dialog box.