Editing Text

With the Text editor, you can cut, copy, and paste selected text using menu commands. 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; otherwise, 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 the same Clipboard. Commands that use the Clipboard overwrite whatever was previously placed onto the Clipboard by other commands or other Windows applications.

You can edit your text using the following actions.



Removes selected text from the active window.


Duplicates selected text in the active window.


Pastes cut or copied text into an active window.


Deletes text without copying it to the Clipboard.


Restores the text.


Reapplies the prior edit.


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.

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 edit action from the Edit menu, choose Undo.

To redo an edit action from the Edit menu, choose Redo.

You can select lines, multiple lines, and column blocks of text to cut, copy, delete, indent, and unindent. Most of the selection commands have extensions (the word "Extend" is appended to the name of the command) that move the cursor and extend the selection. By default, these commands are bound to the same key combination as the primary selection command plus the SHIFT key.

To select a line of text

To select multiple lines of text

  1. In the selection margin, point to the beginning of the text you want to select.

  2. Drag either up or down to select the lines of text.