Paste Before [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Paste Before
Purpose
Pastes text before the current line.
Default Syntax
P
Description
This command inserts a copy of the current Cut/Paste buffer text before
the line [REV BEG]or character[REV END] where the cursor is currently
positioned. The buffer contents remain unchanged after you execute this
command, and you can use this command repeatedly during your editing
session to insert multiple copies of the buffer without altering the
buffer contents.
HP EDIT also preserves the buffer when you alternate between files using
the Activate Next Process and Activate Previous Process commands[REV BEG]
or when you switch windows[REV END]. Consequently, you can use the Paste
Before command to copy or move text in the buffer from one file to
another.
Procedure
To insert the Cut/Paste buffer contents before a specified line:
1. Cut or copy a line block to the Cut/Paste buffer.
2. Move the cursor to a column anywhere on a line above which you
want to insert (paste) the text.
3. Press the P key, or press the Cut/Paste function key, followed by
the Paste Before function key. HP EDIT inserts the text lines in
the buffer above the specified line.
[REV BEG]
To insert the Cut/Paste buffer contents before a specified character:
1. Cut or copy a character block to the Cut/Paste buffer.
2. Move the cursor to the character before which you want to insert
the text.
3. Press the P key, or press the Cut/Paste function key, followed by
the Paste After function key. HP EDIT inserts the text in the
buffer in front of the cursor.
[REV END]
Example
To insert the Cut/Paste buffer contents before the second line:
The buffer contents will be inserted before the second line
this sentence.
1. Move the cursor anywhere on the second line as shown.
2. Press the P key, or press the Cut/Paste function key, followed by
the Paste Before function key. HP EDIT inserts a copy of the
buffer contents before the second line as shown:
The buffer contents will be inserted before the second line
to complete this sentence.
Related Commands
Copy And Append To Buffer
Copy To Buffer
Cut And Append To Buffer
Cut To Buffer
Paste After
Paste Over
MPE/iX 5.0 Documentation