INDENT Command

Retains left margin indention when text is flowed.
Category: Text editing, command-line command

Syntax

INDENT <ON | OFF>

Without Arguments

The INDENT command is toggled on or off. The first time you issue the INDENT command, it reverses the current setting. If the current setting is ON, then issuing the INDENT command changes the setting to OFF. If the current setting is OFF, then issuing the INDENT command changes the setting to ON. When you reissue the INDENT command, it returns to the previous setting.

Optional Arguments

ON
turns on the INDENT command in the window.
Tips:The INDENT ON command indents all lines.

When the INDENT command is turned on, and you issue the TF command, all of the lines in the paragraph are indented the same as the first line in the paragraph.

OFF
turns off the INDENT command in the window.

Details

The INDENT command specifies that the current left margin indention is used under the following conditions:
  • when existing text in a window is flowed with the TF command
  • when text is inserted in a window when the AUTOFLOW command is turned on
  • when existing text in a window is split with the TS command

Comparisons

The left boundary can be set by both the INDENT and BOUNDS commands. However, when text is flowed, turning the INDENT command on always determines the left boundary, and overrides the left boundary set by the BOUNDS command.

Examples

Example 1

This example shows four lines of text. The TF command is typed in the number field of the first line. The first line of the paragraph is indented. The INDENT command is set to ON, and the default boundaries are 1 and 50:
tf 01       The purpose of Monday's meeting is to review
00002 the documentation plan and gather your responses. Please
00003 send a representative
00004 if you are unable to attend.

Example 2

The following example shows the result of pressing ENTER or RETURN to issue the TF command. The indention is used for all of the lines and the right boundary is 50:
tf 01       The purpose of Monday's meeting is to review
00002       the documentation plan and gather your responses. Please
00003       send a representative
00004       if you are unable to attend.