Use EditCenter to center current session text within a specified column range for a specified group of lines.
EditCenter may also be entered as EditCen[ter] or Cen[ter].
The group of lines can be specified by pre-selecting the lines (see Selection) or by using the FCT operand. If neither a pre-selection or FCT operand is provided, the group of lines consists solely of the current line.
Optional Operands
FCT specifies the number of lines for which text is to be centered. If FCT is specified as an asterisk (*), text will be centered for all of the lines through the end of the session.
Default: 1.
ZONE is the column range within which text is to be centered. Enter it in the format xxx-yyy where xxx and yyy are numbers between 1 and the session maximum line width. For example, ZONE=11-20 signifies columns 11 to 20. ZONE=5 is the same as ZONE=5-5, ZONE=5-* specifies columns 5 through the session maximum line width, and ZONE=-5 is the same as ZONE=1-5.
Default: current session zone.
EditCenter may be invoked without operands by pressing Alt-Shift-+ (plus sign).
Return Codes
OK Successful.
Examples
Center text within column range 11 to 60 for 5 lines:
=> cen 5,11-60
Center text within the current session zone for the current line:
=> cen