Shift Line Left [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Shift Line Left
Purpose
Shifts a line of text to the left.
Default Syntax
[n] <
where n represents the number of lines to shift to the left. The default
value of n is 1.
Description
This command shifts a line or lines of text a predetermined number of
columns to the left.
The number of columns shifted is determined by the Shift Count variable,
which has a default value of 1. You can alter this variable by executing
the Set Options command and changing the value of the Shift Count field.
The non-default value you provide for this field only affects the current
session. You can save this new default for other subsequent sessions, if
desired, by using the Save Config File command.
The command has no effect when executed if the text of the line to be
shifted begins in the first column. Similarly, if text begins in the
third column and the shift count is 5, executing the command shifts the
line only three columns to the left.
Procedures
To shift one line one column to the left:
1. Move the cursor to a column anywhere on the line to be shifted.
2. Press the < key. HP EDIT shifts the line one column to the left.
To shift more than one line to the left:
1. Move the cursor to a column anywhere on the line to be shifted.
Ensure that no characters occupy the first column of any of the
lines.
[REV BEG]
2. Either specify a count or select a block. This value represents
the number of lines you want to shift starting at the current
line.[REV END]
3. Press the < key. HP EDIT shifts each line one column to the left.
To shift a line more than one column to the left:
1. Execute the Set Options (O) command.
2. Press the s key to modify the Shift Count field.
3. Enter the desired numeric value representing the number of columns
to shift and press Return.
4. Press Return to return to your editing session.
5. Move the cursor to a column anywhere on the line to be shifted.
Ensure that no characters occupy the specified number of columns
at the beginning of the line.
6. Press the < key. HP EDIT shifts the line the specified number of
columns to the left.
Related Commands
Shift End Of Line Left
Shift Line Right
Shift End Of Line Right
MPE/iX 5.0 Documentation