Manipulating blocks of text

After you have marked a block of text, you can manipulate it in various ways.  The most common ones are described below.

Copying a marked block

  1. Move the cursor to the location in the file where the marked text will be copied.
  2. Select Selected from the pop-up menu or from the Edit menu.
  3. Select one of the following:
    1. Copy selection - A copy of the marked block is inserted at the cursor position.
    2. Overlay with selection - A copy of the block is placed below the cursor, overwriting any existing text.

    Alternatively, position the cursor and press Alt+C to copy, or Alt+Z if you want to copy the block over existing text.

Deleting a marked block

  1. Select Selected from the pop-up menu or from the Edit menu.
  2. Select Delete selection to delete the marked block.

  3. Alternatively, press Alt+D to delete a marked block.

Moving a marked block

  1. Move the cursor to the desired location.
  2. Select Selected from the pop-up menu or from the Edit menu.
  3. Select Move selection to move the block to the cursor position.

  4. Alternatively, position the cursor and press Alt+M to move the selected block.

Note:  The availability of the menu items indicated above depends on the application implementing the editor.  The keyboard operations indicated are effective only in certain editor profiles.

Related tasks
Marking blocks of text
Changing the default marking mode
Issuing editor commands

Related reference
block command