graphics\overbutt.gifChoosing colors for programming code

Text Editor lets you choose colors for syntax items in programming code. For example, if you are working with C++ code, you can set different colors for C++ normal text, keywords, numbers, and quoted string. You can also choose different colors for selected and unselected items.

You can choose a color from the System Colors section, or you can choose a custom color. You can choose a custom color by using the color picker, or you can type values to specify the color's hue, saturation, and value. You can also type values to specify the amount of red, green, and blue in a custom color.

To choose a color for a syntax item

1. Click Options, Highlight Style.

2. Choose a programming language from the Highlight list box.

3. Choose a syntax item type from the Item list box.

4. In the Item Style section, click the Normal button.

5. In the System Colors section, click a color.

To choose a custom color for a syntax item

1. Follow steps 1 to 4 from the previous procedure.

2. In the Custom Colors section, click a gray box.

3. Do one of the following:

4. Click the Add To Custom Colors button.

To choose a color for a selected syntax item

1. Follow steps 1 to 3 from the "To choose a color for a syntax item" procedure.

2. In the Item Style section, click the Selected button.

3. In the System Colors section, click a color.

To choose a custom color for a selected item

1. Follow steps 1 to 3 from the "To choose a color for a syntax item" procedure.

2. In the Item Style section, click the Selected button.

3. Click a gray box in the Custom Colors section.

4. Do one of the following:

5. Click the Add To Custom Colors button.