home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
editor
/
me
/
mehelp.2
< prev
next >
Wrap
Text File
|
1994-01-31
|
3KB
|
59 lines
BLOCK COMMANDS
There are ten "pick buffers" which you can use to save text when you
are cutting and pasting text. The default buffer is number 0. To
change the number of the current pick buffer, use the <CHG PICK
BUFFER> command (the CTRL F7 key).
<PICK+CLEAR> (the F8 key) clears the current pick buffer, and places
the current line in the buffer. The line is then deleted from the
file.
<PICK+APPEND> (the SHIFT F8 key) appends the current line to the cur-
rent pick buffer. The current line is then deleted from the file.
<COPY> (the SHIFT F9 key) does the same as <PICK+CLEAR> except the
current line is NOT deleted from the file.
All three of the above commands may take an optional count (for
example, <ESCAPE> 3 <PICK+CLEAR> will pick and delete the next three
lines). There are ten pick buffers, numbered 0 through 9. Buffer 9 has
a special use, in that it stores lines and blocks that you have
deleted with either the <DELETE LINE> command, or a delete block
operation. The <UNDO> command looks in buffer 9 for lines to be
reinstated. Buffer 0 is the default buffer.
<MARK> (the F7 key ) defines a block of text to perform an operation
on. Move to start of the block and press <MARK> a grey rectangle will
be shown where you marked the text. Then move to the end of the block
and press <MARK> again. The entire block will be highlighted. You are
prompted for the operation to perform on the block. The current opera-
tions are pick & clear, pick & append, copy, delete, write to a file,
change the case, or change the format block associated with those
lines. If you want to abort the operation, press <CTRL> D.
<RECT MARK> (the SHIFT F7 key) is like the <MARK> operation, except it
defines a rectangular block. This is useful for manipulating columns.
<PUT> (the F9 key ) allows you to take the contents of any one of the
ten buffers and place it in your text. You are asked if you want to
insert the text above the cursor, insert the text to the right of the
cursor, or overlay the text at the cursor position (only if you used a
<RECT MARK> to extract a column).
In addition to marking a block of text, you can mark an entire line or a
group of lines.
The <MARK LINE> command (ALT F7 key) marks the current line. The line will
be highlighted. The <MARK GROUP> command (the ALT F8 key) will mark all
lines from the current line BACKWARDS until the previous marked line.
If there are lines which are marked, the following commands will affect the
marked lines :
<DELETE LINE> (F1) <COPY> (SH F9)
<WRITE BUFFER> (ALT W) <PICK & APPEND> (SH F8)
<PICK LINE> (F8)
The <CLEAR MARK> command (CTRL F8 key) will unmark all lines which are
marked.