Progress
Language Tutorial
for Character


Text Entry and Manipulation

This section provides a basic overview of text entry and manipulation in the Procedure Editor. Much of the information in this section focuses on the keystrokes used to navigate through and edit text in an edit buffer.

The Procedure Editor is much like any other text editor. To enter text, make sure that the menu bar is not active and simply start typing. The characters you type appear at the current cursor location in the current edit buffer.

There are two modes of text entry in the Procedure Editor:

Press INSERT to toggle between the overtype and insert modes. The word “Insert” appears in the lower-right corner of the Procedure Editor display when you are in insert mode.

The procedure area is the visible portion of the current edit buffer. You can view it using the Procedure Editor. The Procedure Editor lets you scroll up and down through your data display, allowing you to expand your view of your data by using cursor keys.

Table 2–4 presents basic keys available in the Procedure Editor that help you move around and edit text in the current buffer. It highlights the similarities and differences between common keyboard mappings that you can use when you are running Progress in a character client mode either on Windows or UNIX.

Table 2–4: Basic Editing Keys


Key Function

Common
Keyboard
Mapping on UNIX
Common
Keyboard
Mapping on Windows



Description
¦ 
CURSOR-UP 
CURSOR-UP 
Move the cursor up one line.
Ø 
CURSOR-DOWN 
CURSOR-DOWN 
Move the cursor down one line.
¨ 
CURSOR-DOWN 
CURSOR-LEFT 
Move the cursor to the left one character.
CURSOR-RIGHT 
CURSOR-RIGHT 
Move the cursor to the right one character.
BACKSPACE 
BACKSPACE 
BACKSPACE 
Delete the character immediately to the left of the cursor.
BACK-TAB 
CTRL-U 
SHIFT-TAB 
Move the cursor to the left one tab stop.
DEL 
DEL 
DEL 
Delete the character the cursor is on.
DELETE-LINE 
CTRL-D 
CTRL-D 
Delete the current line.
DELETE-WORD 
ESC-D 
CTRL-ALT-D 
Delete the word the cursor is on.
END 
ESC-. 
Move the cursor to the end of the current buffer.
HOME 
ESC-, 
Move the cursor to the beginning of the current buffer.
INSERT 
F9 
F9 
Toggle between insert mode and overtype mode.
LEFT-END 
ESC-CURSOR-LEFT 
HOME 
Move the cursor to the beginning of the current line.
NEXT-WORD 
CTRL-W 
CTRL-CURSOR-RIGHT 
Move the cursor right to the first character after the next space character.
PAGE-DOWN 
ESC-CURSOR-DOWN 
PAGE-DOWN 
Scroll down one screen in the current buffer.
PAGE-UP 
ESC-CURSOR-UP 
PAGE-UP 
Scroll up one screen in the current buffer.
PREV-WORD 
CTRL-P 
CTRL-CURSOR-LEFT 
Move the cursor left to the first character after the previous space character.
RETURN 
RETURN 
ENTER 
Insert a new line at the cursor location.
RIGHT-END 
ESC-CURSOR-RIGHT 
END 
Move the cursor to the end of the current line.
TAB 
TAB 
TAB 
Move the cursor to the next tab stop.

The next section describes more advanced text editing techniques in the Procedure Editor.


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