Delete Word
Deletes text from the current character to the start of the next
word.
The Delete Word key removes a word from the current buffer. You
can terminate a word by using tabs or characters not specified in the
/IDENTIFIER_CHARACTERS qualifier on the DEFINE LANGUAGE command. A
word can consist of identifier characters and trailing blanks, or it
can consist of a single nonblank, nonidentifier character.
Example:
The following shows the effects of the Delete Word key with four
different cursor positions on a line:
LSE stands for Language-Sensitive Editor.
| | | |
(1) (2)(3) (4)
(1) On the first character of a word, deletes all of that word. In
this case, deletes "stands" and the trailing spaces.
(2) In the middle of a word, deletes to the end of the word. In this
case, deletes "or" and the trailing spaces.
(3) Between words, deletes the blanks from the cursor to the first
non-blank character. In this case, deletes the spaces between "for"
and "Language-Sensitive".
(4) At the end of a line, deletes only the carriage return; the next
line (if any) moves up. This is useful for deleting blank lines to
form paragraphs for fill operations.
To reinsert what you deleted, use the Undelete Word key.
Command Equivalent:
ERASE/TO WORD/FORWARD
Related Topics:
ERASE
ERASE LINE
ERASE WORD
UNERASE
UNERASE WORD