You can change how EGL code is displayed in
the EGL editor.
Do as follows:
- From the main menu, click . The Preferences window
is displayed.
- From the navigation tree, expand and click Syntax
Coloring. The Syntax Coloring pane
is displayed.
- The Syntax Coloring pane of the Preferences window
shows the following EGL style preferences:
- Background color
- Select one of the following options to define the background color
in the EGL source file:
- System Default
- Use the colors currently defined as part of the system configuration.
- Custom
- Click the radio button to select a color from the color palette.
The color palette is displayed when clicking the button next to the
Custom label. After you have selected a color, click OK to
save your choice. The color is shown in the Preview field.
- Element
- Select the color for each element of source data in your file.
You can also make the data bold. To set a color, follow these steps:
- Select the type of text in the Element list.
- Click the box next to the Color label. A color palette is displayed.
- Select the desired color and click OK.
- Click the check box for the Bold field
to bold the text.
Repeat the steps for each type of text. The results are shown
in the Preview box.
- In the navigation tree, expand and then click Colors
and Fonts. The Colors and Fonts pane
is displayed.
- In the Colors and Fonts pane, expand EGL in
the tree and then click EGL Editor Text Font.
- Click Edit. A Font window
is displayed.
- In the Font window you can specify
one or more of the following settings:
- Type or select a font style in the Font field.
- Type or select a font style in the Font style field.
- Type or select a font size in the Size field.
- Type or select a color in the Color field.
- Select the Strikeout check box if you want
a line to run through the middle of the text.
- Select the Underline check box if you want
a line under the text.
- The Script menu lets you select a type
of script. The default is Western.
You can see a preview of your selections in the Sample section.
When you are finished making your selections, click OK.
- To use the default operating system font, click the Use
System Font button.
- To use the default workbench font, click the Reset button.
- To set the font for all editors (not just the EGL editor)
to the default workbench font, click the Restore Defaults button.
- To save the changes and remain in the Preferences window,
click Apply. To save the changes and exit the
window, click OK.