Top
Systemwalker Runbook Automation Studio User's Guide
Systemwalker

5.12.3 Emphasizing Reserved Words

The following items can be emphasized when Ruby or Perl scripts that have been imported into operation component projects are opened in a text editor. The emphasis can be by color, bolding, or italics.

[Ruby]

[Perl]

Usage

Open the Ruby script with a text editor. Use the following procedure to change the detail emphasis can be by color of the script. The procedure for Perl scripts is the same, but anywhere "Ruby" is mentioned should be replaced with "Perl".

  1. Open the Ruby script with a text editor. Use the following procedure to change the the detail emphasis can be by color of the script.

  2. Select Window >> Preferences.

  3. From the tree on the left of the Preferences dialog, select Systemwalker RBA Studio >> Editor Settings >> Ruby >> Syntax Coloring.

  4. In the Element field, select the element to be emphasized.

  5. Select or cancel the checkbox for selecting the type of emphasis. To change the color, click the color selection button and select the new color in the Color dialog box. Cancelling the checkbox for Enable disables all emphasis settings for the element selected in the Element field.

  6. The emphasis can be previewed in the Preview field.

  7. Click the OK button.

Point

Emphasis settings are reflected immediately in any script files open in the text editor when you click Apply or OK in the Preferences dialog box.