Colors page (Environment Options dialog box)
Use the Colors page of the Environment Options dialog box to specify how the different elements of your code appear when editing in the Source pane.
You can specify foreground and background colors for anything listed in the Element list. The sample code at the bottom of the dialog box shows how your settings will appear in the Source pane.
To open the Colors page, choose Tools|IDE Options, then click the Colors tab.
Color SpeedSetting
Quickly configures the Source pane display using predefined color combinations.
Defaults
Displays reserved words in bold. Background is white.
Classic
Displays reserved words in light blue and code in yellow. Background is dark blue.
Twilight
Displays reserved words and code in light blue. Background is black.
Ocean
Displays reserved words in black and code in dark blue. Background is light blue.
Element
Specifies syntax highlighting for a particular code element. You can choose from the Element list or click the element in the sample Source pane.
The Element options are:
- Whitespace
- Comment
- Reserved Word
- Identifier
- Symbol
- String
- Number
- Plain Text
- Marked Block
- Search Match
- Execution Point (for debugging)
- Enabled Break (for debugging)
- Disabled Break (for debugging)
- Invalid Break (for debugging)
- Error Line
- Right Margin
- Illegal (for illegal references)
Color
Sets the foreground (FG) and background (BG) colors for the code element selected in the Element list.
To select a color using the mouse, choose one of the following methods:
- Click a color to select it as the foreground color.
- Right-click a color to select it as the background color.
If you choose the same color for the foreground and the background, it is marked as FB. (This is not recommended.)
To select the color using the keyboard,
- Use the arrow keys to highlight a color.
- Press F to select it as the foreground color, or B to select it as the background color.
Text Attributes
Specifies format attributes for the code element selected in the Element list. JBuilder supports the following text attributes:
Use Defaults For
Displays the code element selected in the Element list using the default system colors.
Unchecking either option restores the previously selected color or, if no color has been previously selected, sets the code element to the system color.
Foreground
Sets the foreground default system color for the selected code element.
Background
Sets the background default system color for the selected code element.
Sample Code
Displays selected settings.
See also:
Getting Started with JBuilder: Setting Editor options