Top
NetCOBOL V11.0 NetCOBOL Studio User's Guide
FUJITSU Software

11.9.2 Setting Highlight Colors

Keywords can be highlighted using colors and font styles (boldface type).

Highlight colors can be set for the following items.

Item

Explanation

line comment

Lines beginning with // are handled as single-line comments.

Multiple-line comment

Text enclosed by /* and */ is handled as a multiple-line comment.

Reserved word

Uppercase and lowercase letters are distinguished in reserved words.
For reserved words, refer to "Interstage Application Server Application Development Guide (CORBA Service Edition)".

String literal

A character string enclosed between ' ' or " " is handled as a string literal.

Displaying the highlight color settings

The highlight colors settings for the above items can be displayed as follows:

  1. Select "Window" > "Preferences" from the menu bar. The "Preferences" dialog box is displayed.

  2. Select "IDL" > "Editor" in the left pane. The "Editor" page is displayed.

  3. Click the "Colors" tab. The "Items", "Color", "Bold", and "Preview" areas are displayed.

  4. When an item is selected, styles are displayed for the set "Color" and "Bold". The current settings are displayed in "Preview".

Changing the highlight color settings

The color settings for the above items can be changed as follows:

  1. To change the display color of an item, select the item from "Items".

  2. Click "Color". The "Color" dialog box is displayed.

  3. Click the target color in the "Basic colors" pallet. Alternatively, click "Define Custom Colors" to create the desired color.

  4. To apply the selected color and close the dialog box, click "OK". The selected color is reflected in the "Preview" area. To close the dialog box without applying the selected color, click "Cancel".

  5. To display the text in boldface type, select "Bold".

Note

  • By default, reserved words are displayed in boldface type, and all other items are displayed in the normal font style.

  • The settings remain in effect even after the next time the editor is opened.