Version 12 added support for VPE in GT.M environments.
The following is a brief description of the enhancements included in VPE version 11.
·
Versioning
The Library module has been enhanced to include versioning. When you
edit a routine and save your changes, you will be prompted to create a version
of the routine. You can create a new version or update an existing version.
The version is stored in the VPE Version file and can be restored at anytime
via the ..LBRY menu. Read the Help option in system QWIK ..LBRY
for more information.
·
Saving Code To The Clipboard
The editors Cut/Copy/Paste functions have been enhanced
to allow you to copy a portion of a line of code to the clipboard and paste
it back in at a different location.
Old Method
To copy code, hit <F3> to put the editor into Block mode. The word
Block will appear in the upper right of the screen. While in Block mode,
hit the <AU> or <AD> key to highlight lines of code.
<ESC C> will copy the highlighted code to the clipboard and turn
off Block mode. <ESC X> will do the same but will also delete the
lines. Move the cursor to a new line and hit <ESC V> to paste the
code into the new location. The code is inserted just below the line the cursor
is on. While in Block mode, <AL> highlights all lines from the
cursor to the top of the routine, and <AR> highlights all lines
from the cursor to the bottom of the routine. Also, you can <TAB>
to the Menu Bar and hit R to branch to another routine to Copy/Cut code,
and then exit and Paste it into the main routine.
New Method
Hit <F3> to put the editor into Block mode. Hit <AU>
or <AD> to highlight lines of code, and <AL>
or <AR> to highlight characters of code. When highlighting
characters of code, you may only highlight characters from a single line, excluding
the line tag.
<ESC V> will paste the code to the new location of the cursor,
but it will do it differently depending on whether the clipboard has lines
or characters of code. If youre pasting lines, the new lines will
be inserted below the line the cursor is currently on. If youre pasting
characters, the characters will be inserted into the current line at the point
where the cursor is located. If you are in Block mode and have highlighted some
code, <ESC V> will replace that code with the contents of the clipboard.
While in Block mode, hit <HOME> to highlight lines from the cursor
to the top of the routine, and <END> to highlight lines from the
cursor to the bottom of the routine.
Here is a summary of keys used to Cut/Copy/Paste:
<F3> Turn Block mode on & off.
<AU> <AD> Highlight lines of code.
<AL> <AR> Highlight characters of code.
<DEL> When Block mode is on, delete highlighted
lines/characters.
<ESC C> Copy highlighted code to the clipboard.
<ESC D> Block mode off - Delete current line.
Block mode on - Delete highlighted lines/characters.
<ESC X> Cut highlighted code to the clipboard.
<ESC V> Paste code from the clipboard into
the routine.
Ĝ Lines will be inserted
below the current line.
Ĝ Characters will be inserted
into the current line.
If you are in Block mode when you hit <ESC
V>, highlighted
code will be replaced by the contents of the clipboard.
<HOME> Highlight from the cursor to the top
of the routine.
<END> Highlight from the cursor to the bottom
of the routine.
·
Find Tag
The Find Tag option on the editors menu bar has been enhanced.
It now lists all line tags in the routine and allows you to select a tag and
move to it. While in the editor, hit <TAB> to go to the menu bar
and then type F for Find Tag.
·
NoDt
In previous versions of VPE, you could set the variable VEENODT =1 to
tell the editor not to update the date on the top line of the routine when you
saved your changes. This allowed you to make temporary changes to a routine
for testing purposes and then remove the changes and restore the routine back
to exactly the way it was before. However, you did have to remember to set VEENODT
and also to KILL the variable when your editing was done. Using this variable
is no longer necessary. Now, when you exit an editing session, you are prompted
with:
QUIT SAVE SAVE_AS SAVE_NODT
Choose SAVE_NODT to save
your changes without updating the date on the top line.
·
Routine Search
To reach the Routine Search module, hit <TAB> to move to
the menu bar and then type RS. This module allows you to list all routines
edited on, before, or after a certain date by entering the search criteria in
the following syntax:
<10/12/00 Find all routines edited before
Dec 10, 2000.
>10/12/00 Find all routines edited after
Dec 10, 2000.
=10/12/00 Find all routines edited on Dec 10,
2000.
This functionality stopped working when the year became 00. It has been fixed
and now supports the year 2000.
·
Inserting a New Line of Code
To insert a new line of code in the editor, hit <RET> to open a blank
line. It doesnt matter where your cursor is positioned when you hit <RET>,
it will always open a blank line just below the line your cursor is on.
Once youve opened a blank line you either hit <TAB> and start entering
your code, or type a line tag and then hit <TAB>. If you hit <RET>
again before you enter any code (or <BS>), the blank line will close.
From the time you hit <RET> to open a blank line, and the time you hit
<TAB>, the editor is in a special mode where it is trying to determine
whether youve entered a valid line tag. This special mode has been changed
slightly.
If you entered some code and then hit <RET> before hitting <TAB>,
you used to get a message saying that a line tag must be followed by a <TAB>,
and it would keep you right there. This has been changed. If you enter some
text on a blank line and then hit <RET>, the editor goes ahead and puts
the <TAB> there for you and then continues on as if you had entered the
<TAB>. Like before, it then checks the tag to make sure it is valid.
·
Keys & Indexes
In VEDDs main menu, the Cross References option has been changed
to Keys & Indexes. It now includes sections for Keys, New-style Indexes,
and Old-style Indexes. Keys and new-style indexes were introduced in Fileman
version 22.
·
Individual Field Summary
Information on Keys and New-style Indexes has been added to the Individual Field
Summary display. In addition, text now displays with a more natural appearance,
making fields such as the DESCRIPTION field easier to read.
Fixed a bug in System QWIK ..KEYS.
Added routine VEEMVPE, which allows you to edit the VPE PERSON file with a Screenman form.