Shift End Of Line Left [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Shift End Of Line Left
Purpose
Shifts a selected portion of text on a line to the left.
Default Syntax
[n] ESC <
where n is a count that represents the number of lines to shift to the
left. The default value of n is 1.
Description
This command shifts a portion of text on a line or lines a predetermined
number of columns to the left.
Shift Count
The number of columns shifted is determined by the position of the cursor
when you execute the command as well as 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.
Requirements
In order for this command to function properly, the cursor must be
positioned on a blank column. Since HP EDIT does not shift text that
would write over non-blank text, a count value greater than the number of
blank columns between the cursor and the next non-blank characters causes
HP EDIT to partially shift the text.
Procedures
To shift a portion of one line to the left:
1. Move the cursor to the character column where you want to shift
the remaining text on the line.
2. Press ESC, then press the < key. HP EDIT shifts all non-blank
text after at the cursor position one column to the left.
To shift portions of more than one line to the left:
1. Move the cursor on the first line of the group to the character
column where you want to shift the remaining text on 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 ESC, then press the < key. HP EDIT shifts all non-blank
text following the cursor position one column to the left for each
line.
To shift a portion of 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 the character column where you want to shift
the remaining text on the line to the left.
6. Press ESC, then press the < key. HP EDIT shifts to the left all
non-blank text following the cursor position the number of columns
specified as the shift count. All text to the left of the cursor
remains in its original position.
or
7. Move the cursor to the character column where you want to shift
the remaining text on the line to the left.
8. Press ESC and the < key repeatedly until the text shifts to the
desired location.
Example
To shift the following line beginning at the word HERE:
Part of this line starting _ here will shift to the left.
1. Move the cursor to the position shown above.
2. Press ESC and the < key twice. HP EDIT shifts the right portion
of the line as shown:
Part of this line starting here will shift to the left.
Related Commands
Shift End Of Line Right
Shift Line Left
Shift Line Right
MPE/iX 5.0 Documentation