Setting tabs

Tab stops can be defined by using preferences for the editor. The default setting for the PL/I Editor is 2.

About this task

You can specify any number of values. The values must be integers that are listed in increasing order and separated by a blank space.

After the last custom tab stop, remaining tab stops are calculated based on the tab width preference value.

Procedure

  1. To set the tab width value for all text editors:
    1. In the Preferences window, click General > Editors > Text Editors.
    2. In the Display tab width field, type an integer value 1 - 16. The default value is 4.
      The value for Insert spaces for tabs field is ignored in the PL/I Editor. Tabs are replaced with spaces for these editors.
  2. To set custom tabs:
    1. In the Preferences window, click PL/I > Editor.
    2. In the Custom tab stops field, type the tab stop locations. The values that are specified must be integers in ascending order.

Example

If the Custom tab stops are “8 12 20” and the Displayed tab width is “2, the tab stops are "8 12 20 22 24" and so on, in increments of 2. When the Tab key is pressed in the editor, the cursor stops at each of the tab stops.