Changing Text Color and Case Size

How to:

You can change the Text Editor fonts, default colors, and case size in a file. This is referred to as syntax coloring and is used in three file types: Master File (.mas), procedure (.fex) and HTML (.htm).

In addition, you can apply text color to uppercase or lowercase text using the case-sensitive option.

Syntax Coloring Option

Description

Text

Regular or default text in the Text Editor.

Text Selection

Text that has been highlighted in the Text Editor.

Number

Numbers in the Text Editor.

Operator

Operators in the Text Editor.

Comment

Any text that follows a hyphen (-) and an asterisk (*). For Master Files (.mas), any text that follows a dollar sign ($).

Keyword

Words in the FOCUS language.

End of Line

Text designating the last line of syntax.

Double Quoted String

Any text between double quotation marks.

Single Quoted String

Any text between single quotation marks.



x
Procedure: How to Change the Foreground and Background Text Color
  1. With the Text Editor open, select Options from the View menu.

    The Editor Options dialog box opens.

  2. Click Font/Color. The Font and Color Settings dialog box opens.
  3. Under the Color group box, highlight the syntax coloring option you want to change.
  4. Deselect the Automatic check box next to the Foreground and Background drop-down lists.

    The drop-down lists become active.

  5. Select a Foreground color and Background color from the respective drop-down lists.
  6. Click OK.
  7. Click OK to close the Font and Color Settings dialog box.
  8. Click OK to close the Editor Options dialog box.

Top of page

x
Procedure: How to Change the Font
  1. With the Text Editor open, select Options from the View menu.

    The Editor Options dialog box opens.

  2. Click Font/Color. The Font and Color Settings dialog box opens.
  3. Click Choose Font.

    The Font dialog box opens.

  4. Select a font and type from the Font drop-down list and a size from the Size drop-down list.
  5. Click OK.
  6. Click OK to close the Font and Color Settings dialog box.
  7. Click OK to close the Editor Options dialog box.

Top of page

x
Procedure: How to Change the Text to Uppercase or Lowercase
  1. In the Text Editor, highlight the text you want to change.
  2. Do one of the following:
    • Select Change Case from the Edit menu.

      or

    • Click the AB button on the Text Editor toolbar.

WebFOCUS