Set Distance To Previous Location [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Set Distance To Previous Location
Purpose
Sets the count to the previous location mark.
Default Syntax
ESC #
Description
This command sets the count to a value equal to the number of lines
between the current cursor location and mark 11, the previous location
mark. Note that the count includes the cursor line. For instance, the
distance from the previous location mark on the second line and the
cursor on the third line is two, rather than one.
When you execute the command, HP EDIT displays the distance between the
two locations as the count on the message line. If the cursor is below
the previous mark (mark 11) location, the cursor moves to the previous
location. You can then perform a block copy or move operation using one
of the cut and paste commands.
HP EDIT automatically sets or resets mark 11 whenever you:
* Move to the first line of the file using the Top Of File command
* Move to the last line of the file using the Bottom Of File command
* Scroll the text so that the previous location of the cursor no
longer appears on the screen
Procedure
To set the count between the current cursor location and the previous
location:
1. Press ESC, then press the # key. HP EDIT moves the cursor to its
previous location (mark 11) if the cursor is below that location.
Related Commands
Go To Column/Mark
Go To Line/Mark
Set Distance To Mark
Set Mark
Swap Cursor With Mark
Swap With Previous Location
MPE/iX 5.0 Documentation