Progress
Language Tutorial
for Windows


Manipulating Blocks of Text

The Procedure Editor allows you to define and manipulate blocks of text. A block of text can be a set of contiguous characters, a whole line, several contiguous lines in a buffer, or an entire procedure.

Follow these basic steps to manipulate a block of text:

  1. Position the cursor on the first character of the text block.
  2. Hold down the mouse selection button and drag to highlight the text block.
  3. Pull down the Edit menu.
  4. Choose the desired text-block operation. You can cut a text block, copy a text block, or paste over a text block.

The Procedure Editor uses the Windows Clipboard for these three operations: cut, copy, and paste. When you cut or copy a block of text, the text goes onto the Clipboard and remains there until you cut or copy another block of text or exit the Procedure Editor. A paste operation inserts the contents of the Clipboard at the current cursor location.

Table 2–5 lists the set of keys that allow you to define a block and execute a text-block operation on Windows.

Table 2–5: Key Functions to Define Text-Block Operations 



Key Function
Common
Keyboard
Mapping on Windows




Description
COPY 
CTL+C 
Copy the current text block into the cut/paste buffer. This key function is the same as Edit Copy.
CUT 
CTL+X 
Cut the current text block into the cut/paste buffer. This key function is the same as Edit Cut.
PASTE 
CTL+V 
Paste the contents of the cut/paste buffer at the current cursor location. This key function is the same as Edit Paste.

With this functionality, you can cut and paste code from one position to another in the current edit buffer. You can also cut and paste between edit buffers.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095