LispWorks Editor User Guide > 3 Command Reference > 3.9 Deleting and killing text

NextPrevUpTopContentsIndex

3.9.1 Deleting Text

Delete Next Character

Editor Command

Arguments: None
Key sequence: Ctrl+D

Deletes the character immediately after the current point.

Delete Previous Character

Editor Command

Arguments: None
Key sequence: Delete

Deletes the character immediately before the current point.

Delete Previous Character Expanding Tabs

Editor Command

Arguments: None
Key sequence: None

Deletes the character immediately before the current point, but if the previous character is a Tab , then this is expanded into the equivalent number of spaces, so that the apparent space is reduced by one.

A prefix argument deletes the required number of characters, but if any of them are tabs, the equivalent spaces are inserted before the deletion continues.

Delete Horizontal Space

Editor Command

Arguments: None
Key sequence: Meta+\

Deletes all spaces on the line surrounding the current point.

Just One Space

Editor Command

Arguments: None
Key sequence: Meta+Space

Deletes all space on the current line surrounding the current point and then inserts a single space. If there was initially no space around the current point, a single space is inserted.

Delete Blank Lines

Editor Command

Arguments: None
Key sequence: Ctrl+X Ctrl+O

If the current point is on a blank line, all surrounding blank lines are deleted, leaving just one. If the current point is on a non-blank line, all following blank lines up to the next non-blank line are deleted.

Delete Region

Editor Command

Arguments: None
Key sequence: None

Delete the current region. Also available via editor:delete-region-command .

Clear Listener

Editor Command

Arguments: None
Key sequence: None

Deletes the text in a Listener, leaving you with a prompt. Undo information is not retained, although you are warned about this before confirming the command.

This command is useful if the Listener session has grown very large.

Clear Output

Editor Command

Arguments: None
Key sequence: None

Deletes the text in the Output tab of a Listener or Editor tool, or an Output Browser. Undo information is discarded without warning.

This command is useful if the output has grown very large.


LispWorks Editor User Guide (Unix version) - 22 Dec 2009

NextPrevUpTopContentsIndex