EDITING in a Window

A Visual PRO/5 enhancement is a graphical version of the EDIT window. Any time the EDIT verb is executed with a single line number, such as EDIT 10, the Visual PRO/5 Line Edit dialog will appear. The text of the program line appears in the dialog. Editing is done through the use of the cursor keys and the pointing device. A block of text may be selected by clicking and dragging, and the familiar Cut, Copy, and Paste operations are available under the Clipboard menu.

Below the text are three buttons: Cancel, Restore, and OK. Restore may be used any time the text has been changed. It restores the line to its original form.

One unusual feature of the new EDIT window is that the text edit window employs word wrap. This means that it attempts to break long lines between "words," which is often meaningless in the context of program code. Some lines may be broken in odd places, but the contents are unaffected.

If you prefer to use the traditional character-based EDIT window, you must add the line oldedit=y to the pro5.ini file, which is used in VPRO/5 1.x. The registry (HKCU/Software/BASIS and subkeys) is used for VPRO/5 2.x and above.