Language Sensitive Editor Menu ERASE — VMS LSE_3.0
=TITLE ERASE
Inserts the item specified by the option word.
Format
ERASE option
Additional information available:
CHARACTERLINEPLACEHOLDERSELECTIONWORD
CHARACTER
=TITLE CHARACTER
Erases a single character at the current cursor
position.
Format
ERASE CHARACTER
Additional information available:
Qualifiers
=TITLE Qualifiers
Additional information available:
/CURRENT/FORWARD/INDICATED/REVERSE/TO
/CURRENT
/CURRENT (D)
Erases text in the current direction.
/FORWARD
Erases text in the forward direction.
/INDICATED
/INDICATED (D)
Deletes the character at the current cursor position.
/REVERSE
Erases text in the reverse direction.
/TO
Deletes the character at the current cursor position when the direction is FORWARD. Deletes the character before the current cursor position when the direction is REVERSE.
LINE
=TITLE LINE
Removes a line of text at the current cursor position.
Format
ERASE LINE
Additional information available:
Qualifiers
=TITLE Qualifiers
Additional information available:
/BEGINNING/CURRENT/END/FORWARD/INDICATED
/REVERSE/TO
/BEGINNING
/BEGINNING (D)
Indicates that the cursor should be moved to the
beginning of a line as part of the ERASE operation. You
cannot use the /BEGINNING qualifier with the /INDICATED
qualifier.
/CURRENT
/CURRENT (D)
Erases text in the current direction.
/END
Indicates that the cursor should be moved to the end of a line as part of the ERASE operation. You cannot use the /END qualifier with the /INDICATED qualifier.
/FORWARD
Erases text in the forward direction.
/INDICATED
/INDICATED (D)
Erases the entire line that the cursor is on (including
the carriage return and line feed), regardless of the
cursor position within that line or the direction
specified. The cursor moves to the beginning of the
next line. You cannot use the /INDICATED qualifier with
the /BEGINNING, /END, or /TO qualifiers.
/REVERSE
Erases text in the reverse direction.
/TO
Erases text from the current cursor position to the next line in the direction specified.
PLACEHOLDER
=TITLE PLACEHOLDER
Deletes the text of a placeholder and related
punctuation.
Format
ERASE PLACEHOLDER
Additional information available:
Qualifiers
=TITLE Qualifiers
Additional information available:
/CURRENT/FORWARD/GOTO_PLACEHOLDER/REVERSE
/CURRENT
/CURRENT (D)
Specifies cursor motion in the current direction.
/FORWARD
Specifies cursor motion in the forward direction.
/GOTO_PLACEHOLDER
/GOTO_PLACEHOLDER (D)
/NOGOTO_PLACEHOLDER
Specifies whether or not the cursor should move to the
next placeholder after performing the ERASE operation.
The movement to the next placeholder does not take
place if it would force the current position to scroll
off the screen.
/REVERSE
Specifies cursor motion in the reverse direction.
SELECTION
=TITLE SELECTION
Removes the text within the selected range.
Format
ERASE SELECTION
WORD
=TITLE WORD
Removes a word at the current cursor position.
Format
ERASE WORD
Additional information available:
Qualifiers
=TITLE Qualifiers
Additional information available:
/CURRENT/FORWARD/INDICATED/NEXT/PREVIOUS/REVERSE
/TO
/CURRENT
/CURRENT (D)
Erases text in the current direction.
/FORWARD
Erases text in the forward direction.
/INDICATED
/INDICATED (D)
Deletes the entire word the cursor is on, regardless of
the cursor's position within that word.
/NEXT
Erases the word following the cursor. When the cursor is positioned on a space, LSE erases all the spaces before and after the deleted word except one space. If the cursor is at the end of a line, the next line is appended to the current line. You cannot use the /NEXT qualifier with any other ERASE WORD qualifier.
/PREVIOUS
Erases the previous word when the cursor is on the first character of a word or between words. When the cursor is in the middle of a word, that entire word is erased and the cursor moves on to the first letter of the next word. You cannot use the /PREVIOUS qualifier with any other ERASE WORD qualifier.
/REVERSE
Erases text in the reverse direction.
/TO
Deletes text from the current cursor position to the beginning of the next word in the specified direction.