Editing with the Text Editor

With the text editor, you can cut, copy, and paste text using menu commands or drag-and-drop. You can also undo and redo selected editing actions.

The text editor provides the following editing commands:

All editing commands require a selection in order to work. Some of the commands can make a selection based on the current cursor location. When no selection is available, the default selection will be the character adjacent to the cursor. For example, the Delete command removes the character to the right of the cursor if there is no selection.

When you cut text from the file, the text is removed from your file and placed on the Clipboard. When you delete text from the file, the text is removed from your file, and the Clipboard is not used. All Windows applications share one single Clipboard. Commands that use the Clipboard will overwrite whatever was previously placed onto the Clipboard by other commands or other Windows applications.

Cutting, Copying, Pasting, and Deleting Text

You can edit your text using the following actions:

Cut Removes selected text from the active window.
Copy Duplicates selected text in the active window.
Paste Pastes cut or copied text into an active window.
Delete Deletes text without copying it to the Clipboard.
Undo Restores the text.

To cut or copy and paste text

  1. Select the text you want to cut or copy.
  2. From the Edit menu, choose Cut or Copy. The cut or copied text is placed onto the Clipboard and is available for pasting.
  3. Move the insertion point to any source window where you want to insert the text.
  4. From the Edit menu, choose Paste.

To delete text

  1. Select the text you want to delete.
  2. From the Edit menu, choose Delete. The deleted text is not placed onto the Clipboard, and cannot be pasted.

Undoing and Redoing Editing Actions

Use the Undo command to undo previous editing actions. Use the Redo command to reapply editing actions that have been undone. Redo is unavailable unless you have used the Undo command.

To Undo an editing action

To Redo an Undo action

© Copyright 1997 Hewlett-Packard GmbH. All rights reserved.
Revision: 98/02/18