PS TEXT EDIT Reference Manual
COPY
TEDIT Commands
058059 Tandem Computers Incorporated 3–31
When you use COPY and a repeat count with a CHARACTER, EOL,
LINE, PARAGRAPH, SECTION, or WORD, TEDIT sees these text items
as a region (see Section 2 for a description of a region). Therefore, when
you copy these text items to the scratchpad, all line boundaries are
retained. For a repeat count with COPY SENTENCE, the line boundary
is retained only when it overlaps more than one line. See “Repeat
Count” in Section 2 for details about the repeat count.
The UNDO command does not reverse COPY.
As a text command, COPY can persist on the status line.
Related Commands
RETRIEVE copies text from the scratchpad to a file you are editing.
WRITE copies text from a file or the scratchpad to either a file you are not
editing or to a printer.
EMPTYSCRATCHPAD clears the scratchpad.
COPY and Text Items COPY performs the following actions on TEDIT text items.
COPY BALANCED-EXPRESSION
COPY BALANCED-EXPRESSION duplicates a balanced-expression
(including the delimiters) to the scratchpad.
How to Use. First place the cursor on an open balanced-expression delimiter.
Then enter COPY BALANCED-EXPRESSION.
What Happens. If the cursor is not positioned on an open balanced-
expression delimiter, TEDIT displays this message on the status line:
Place cursor on Open of balanced-expression