Colors page
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 box. The sample code at the bottom of the dialog box shows how your settings will appear in the JBuilder Source Pane.
To open the Colors page, choose Tools|IDE Options, then click the Colors tab.
Dialog box options
Color SpeedSetting
Use the Color SpeedSettings options to quickly configure 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
Color
Sets the foreground (FG) and background (BG) colors for the selected code element.
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
Specify format attributes for the code element. The attribute options JBuilder supports are,
Use Defaults For
Display the code element using default system colors (foreground, background, or both).
Unchecking either option restores the previously selected color or, if no color has been previously selected, sets the code element to the system color.
See also:
User's Guide: Setting Editor options