Maintaining the Editor Display

In the editor pane, the various components of your methods are displayed in different colors by default. For example, all JADE language instructions (keywords) are displayed in blue in the editor pane and operators (that is, and, or, and not) are displayed in black. You can use the Ctrl+0 shortcut keys in the editor pane to toggle the display of multiple-color or single color method components.

To change your default editor display

  1. In the Editor sheet of the Preferences or JADE Installation Preferences dialog, double-click the component whose default color you want to change. For example, double-click the blue panel to the right of Keywords in the Editor list to change the default color for instructions in your JADE methods. The common Color dialog is then displayed.

    For details about the JADE installation default display of JADE elements in the editor pane, see "Using the Editor Pane", in Chapter 3.

  2. Click on the required color. The selected color is then outlined in black. (This common dialog also enables you to define your own custom color, if required.)

  3. Click the OK button. The Preferences or JADE Installation Preferences dialog is then redisplayed, with your selected color displayed beside the component (for example, Keywords, or JADE language instructions) in the Editor list and in the editor pane that displays a sample method.

    To make all of your required color display changes, repeat steps 1 through 3.

  4. If you want all components of your methods to be displayed in a single color (black), check the Single Color check box.

    The single color display provides improved performance when using the editor.

  5. If you want to change the default tab stops position in JADE methods from 4, specify the appropriate value in the Tab Stops text box. (The maximum value is 64.)

  6. Click the Font button if you want to change the default JADE methods font from Courier New 9 point. The common Font dialog is then displayed, to enable you to make your font selections. The bold and italic features are ignored and you can select a monospaced font (for example, Courier New) or a proportional font (for example, System).

    When you have made your font selections, focus is then returned to the Preferences or JADE Installation Preferences dialog.

  7. Click the OK button. Alternatively, click the Cancel button to abandon your selections.

The editor pane in the browser window then has focus, and your selections are displayed in the editor pane of the current method.