
















                                  VISION EDIT


                                  Users Guide


















                      Andrzej Brzezinski & Marek Kosznik
                               September 30, 1992

pg1

WARRANTY DISCLAIMER

ANDRZEJ BRZEZINSKI & MAREK KOSZNIK, THE AUTHORS AND OWNERS OF THIS SOFTWARE,
DISCLAIM ALL WARRANTIES RELATING TO THIS SOFTWARE, WHETHER EXPRESSED OR
IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND ALL SUCH
WARRANTIES ARE EXPRESSLY AND SPECIFICALLY DISCLAIMED. NEITHER THE AUTHORS OF
THE SOFTWARE NOR ANYONE ELSE INVOLVED IN THE CREATION, PRODUCTION, OR
DELIVERY OF THIS SOFTWARE SHALL BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL,
OR INCIDENTAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH
SOFTWARE EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES OR CLAIMS. IN NO EVENT SHALL THE AUTHORS' LIABILITY FOR ANY DAMAGES
EVER EXCEED THE PRICE PAID FOR THE LICENCE TO USE THE SOFTWARE, REGARDLESS
OF THE FORM OF CLAIM. THE PERSON USING THE SOFTWARE BEARS ALL RISK AS TO THE
QUALITY AND PERFORMANCE OF THE SOFTWARE.

This agreement shall be governed by the laws of the Province of Manitoba and
shall inure to the benefit of Andrzej Brzezinski and Marek Kosznik and any
successors, administrators, heirs and assigns. Any action or proceeding
brought by either party against the other arising out of or related to this
agreement shall be brought only in a Provincial or Federal Court of
competent jurisdiction located in Winnipeg, Manitoba. The parties hereby
consent to in personam jurisdiction of said courts.


REGISTRATION RULES

Vision Edit is a shareware program. It means that you can freely copy it,
give the copies to friends, and test it. Once you decide that the program
is useful for you and you want to use it you should register. Registration
rules are described below.

Benefits of registering:
------------------------
By registering first of all you become legally entitled to use the program.
But there are other benefits of registering:
- you will receive free updates for a period of 1 year;
- you will receive a printed manual with screen snapshots;
- the introductory screen will not be displayed on startup;
- you will be entitled to a free phone support: (204) 943-4020;
- you will receive a bi-annual newsletter.

How to register:
----------------
Registering is easy. Using Vision Edit open the appropriate file which
contains a registration form and fill it in.
If you are going to use Vision Edit:
- on a single computer: use FORM1.TXT file for registration;
- on a network or more than 1 computer: use FORM2.TXT.
After filling in print out the form, attach the appropriate payment and mail
it to the following address:
                                      Andrzej Brzezinski
                                      P.O. Box 2657
                                      Winnipeg, Manitoba R3C 4B3
                                      CANADA
pg 2
                                   CONTENTS



Introduction.................................................3

Hardware and Software Requirements...........................3

Installation Procedure.......................................3

Quick Start..................................................4

Menu Bar.....................................................6

Status Line..................................................7

Desktop......................................................7

Help Facility................................................7

Edit Window..................................................8

Dialog Box...................................................9

Pull-down Menu System........................................9
  1.  Menu..................................................10
  2. File....................................................12
  3. Edit....................................................17
  4. KeyCmds.................................................19
  5. Search..................................................22
  6. Windows.................................................26
  7. Options.................................................29
  8. Print...................................................35
  9. Macros..................................................38
  10. Config.................................................40
  11. Help...................................................45

Using Editor.................................................46
  1. Using Edit Windows......................................46
  2. Editing Commands........................................47
  3. Entering ASCII Codes....................................49

                                                              
pg 3
INTRODUCTION

Welcome to Vision Edit. Vision Edit is an easy-to-use text editor for IBM PC
compatible microcomputers. Vision Edit allows editing multiple text files
simultaneously. Each file will be opened in a separate window. You can edit
very large files with Vision Edit (up to around 4MB). All functions of Vision
Edit can be selected either from pull-down menus or by pressing short-cut
keys.

You can invoke Vision Edit with one or several file names as a command-line
parameter e.g. VED *.PAS. In this case Vision Edit will open all the files in
the current directory with PAS extension.

Vision Edit provides full mouse support but if you do not have a mouse you can
still access all the functions from the keyboard.

Vision Edit allows you printing files. You can define various printer settings
in a Print Options dialog box. You can also define headers and footers.

You can cusomize some features of Vision Edit. You can change the colors of
edit windows, dialog boxes and other elements of the user interface. If you
are used to another editor you may want to modify hot-key commands - Vision
Edit will then behave like the editor that you are familiar with.

Vision Edit is equipped with a context-sensitive help facility. Pressing F1
function key or selecting a Help command from the Help menu displays
information in a Help window regarding the screen object being active e.g. a
menu command, an edit window, a dialog box etc. Help facility is described in
more detail in a Help Facility chapter.

HARDWARE AND SOFTWARE REQUIREMENTS

In order to run Vision Edit you have to have an IBM PC compatible computer
with at least 256KB of RAM memory and DOS 2.0 or newer. It is recommended that
you install Vision Edit on your hard disk (it will work from a floppy disk but
will be slow). Expanded memory is not necessary but it will further speed up
the program.

INSTALLATION PROCEDURE

In order to install Vision Edit on your hard disk do the following:
1) Insert the Vision Edit diskette into your floppy drive A or B;
2) At DOS prompt C:> type in a command: a:install (for drive A)
	or b:install (for drive B);
3) Follow the instructions displayed on the screen.
4) After the installation is complete modify your AUTOEXEC.BAT using Vision
	Edit or any other editor e.g. C:\VED\VED C:\AUTOEXEC.BAT :
	- find a PATH statement (if it does not exist create it) and add
     Vision Edit directory to the end e.g. :
     PATH = C:\DOS;C:\VED

pg 4
QUICK START

     Vision Edit is easy to use text editor. Most functions can be selected
from pull-down menus so you do not have to remember any commands. All
functions can be selected either from a keyboard or by using a mouse. More
experienced users can invoke many commands with a single or double-key
stroke (hot keys). If you have a problem or are not sure about something
you can use a context-sensitive, on-line help by pressing F1 key. You can
also display a Help Index (Ctrl F1) and Help on Editor commands (Alt F1).

Quick-start :
  -start Vision Edit (write command VED.EXE after DOS prompt);
  -you see Menu-Bar at the top of the screen with menu items like
   'File' , 'Edit' , 'KeyCmds' and more;
   at the bottom of the screen there is Status-Line with information about
   some commands;
   between Menu-Bar and Status-Line there is desktop area where later
   a window with your file will be displayed;
  -to activate the Menu-Bar press F10 key; there is a green bar that shows
   which item from the Menu-Bar is selected; to move this bar use Right or
   Left arrow keys; when you press enter then pulldown menu is displayed;
   now you can use again Right and Left arrow keys if you want to check
   what Vesion Edit is able to do for you;

  -now you will create a simple file;
  -open a pulldown menu under 'File' item in a menu bar by entering
   command Alt-F or clicking a mouse on a word 'File'; choose a 'New' item
   by clicking a mouse on this item or by positioning a green bar on this
   item using Up-arrow or Down-arrow keys and pressing Enter key;
  -now on a screen a blue window is displayed with a word 'Untitled' in the
   middle of the upper border (this is your area when you can edit your
   file);
  -in the upper left corner there is a cursor which shows you a position
   when you can enter text;
  -to add an empty line press ENTER key;
   to move a cursor use UP-arrow,DOWN-arrow,LEFT-arrow,RIGHT-arrow keys;
  -now press four times ENTER-key and then press UP-arrow two times;
   position a cursor in the middle of the screen by using RIGHT-arrow key;
  -enter words:    Dear User
  -press ENTER key;
  -press RIGHT-arrow key four times and enter words:
      Vision Edit is easy to use text editor. Most functions can be
  -press ENTER key;
  -enter words :
   selected from pull-down menus so you do not have to remember any
  -press ENTER key;
  -enter word :   commands.
  -press ENTER key;
  -press RIGHT-arrow key several times and enter word:  Authors.
  -if you made a mistake during writing a text, you can easily make
   corrections;
  -to delete an undesirable character you need to move a cursor
   under this character (using arrow keys or by clicking mouse on this
   character) and then press DELETE key (a letter is deleted);
pg 5
  -to insert a forgotten letter you need to position a cursor under a
   letter which will follow an inserted one; then enter a letter;

  -you created a very short file now you want to save your work that later
   you can return to your file and make some changes;
  -in order to do this you should open a pulldown menu under a word 'File'
   (Alt-F command or use mouse); choose a 'Save' item by clicking
   a mouse on this item or by positioning a green bar on this
   item using Up-arrow or Down-arrow keys and pressing Enter key;
  -the 'Save file as' dialog box is displayed (this dialog box can be
   displayed if F2 key is pressed); press F1 key if you want to know more
   about this dialog box (F1 activates context sensitive help); read
   information and press ESC key; now you can enter the file name on the
   input line (the line where the cursor is blinking); enter the name:
   MY.TXT ; now press ENTER key or click mouse on 'OK' button on the dialog
   box; you saved your work on a disk;

  -to close a file press Alt-F3 keys or choose 'Close file' item from the
   pulldown menu under 'File' item;
  -the window with your file disappears;

  -now you want to open MY.TXT file to make some changes or to print it
  -you can do it by pressing F3 key (notice that information about command
   generated by this key is displayed on a Status Bar at the bottom of the
   screen) or by selecting 'Open...' item from pulldown menu under 'File'
   item;
  -the 'Open File' dialog box is displayed; there are the Input-Line (blue
   color) under word 'Name' and the List-Box (light blue color);
  -names of files are displayed on the List-Box;
  -to open your file first press TAB key or click mouse on the List-Box
  -a green bar is displayed; this bar allows you to select a file which you
   want to open; use Up or Down arrow keys to move this bar at position of
   your file (MY.TXT); you can notice that each time when the bar highlits
   new file the name of this file is displayed on the Input-Line; it informs
   you which file is selected for openning;
  -when you select your file (MY.TXT), what means this name is displayed on
   the Input-Line, press Enter key or click mouse on the 'Open' button on the
   dialog box;
  -your file is opened and is displayed on the screen;

  -if you have a printer connected with your computer you may want to print
   MY.TXT file;
  -turn on your printer and make sure it is connected to your
   computer;
  -open a pulldown menu under 'Print' item in a menu bar by entering
   command Alt-P or clicking a mouse on a word 'Print'; choose
   'Print Block/File' item by clicking a mouse on this item or by positioning
   a green bar on this item using Up-arrow or Down-arrow keys and
   press Enter key;
  -your file should be printed;
  -if it did not work or an error message was displayed check if
   the printer is properly connected; also if it is connected to a
   different port than LPT1 you have to select the proper port in
   the Print|Options dialog box (just press Alt-P, select Print
   Options and press <ENTER>);

pg 6
  -now quit Vision Edit by entering Alt-X command or by choosing 'Exit'
   item from Status-Bar at the bottom of the screen (use mouse).

Excellent. You have just completed the quick start exercise. Now
go ahead and experiment with Vision Edit on your own. Use
on-line help or manual for more information.


ELEMENTS OF THE USER INTERFACE

The screen of Vision Edit is devided into 3 areas :
- Menu Bar - top line
- Status Line - bottom line
- Desktop - area between the Menu Bar and the Status Line.

MENU BAR

  Menu Bar is the top line on the screen which displays menu choices. Each menu
choice contains a pull-down menu which can be displayed by clicking on the menu
item (e.g. File), or by pressing a short cut key Alt-L where L is a highlighted
letter of the menu item (e.g. Alt-F for File menu). You can also get to the
menu bar by pressing F10 function key and then you can use arrow keys to move
the cursor to the desired menu choice and press <Enter> to open the pull-down
menu.

  The  menu is accessed by pressing Alt-Space.  All the other menus are
accessed by pressing Alt-L, where L is the first (highlighted) letter of the
menu. For example, the "File" menu is pulled down by Alt-F.

  Each Pull-down Menu contains a list of functions that can be selected
by moving the cursor with the arrow keys and pressing <Enter>, or
by clicking the mouse on the menu item, or by pressing a highlighted
letter (typically the first letter). If no letter is highlighted, it
means that the function is not active in the current context, for example
you cannot save a text to the file if no window is open.

Some menu items have a short cut defined next to the function name
e.g. 'Close Alt-F3'. Such functions can be activated by pressing
a short cut key from any point in the program (if a function is active)
without having to open a pull-down menu.
pg 7


STATUS LINE

The Status Line (the bottom line of the screen) contains a list of most
often used functions which can be activated by pressing a short cut key
shown left to the function name or by clicking the mouse on the function
name.

If a function is active in the current context, its short cut is highlighted
e.g. in Exit 'x' is highlighted and Alt-X is a shortcut.


DESKTOP

Desktop is your work area between the Menu Bar and the Status Line.
You can open various windows, dialog boxes and entry forms on the Desktop.



HELP FACILITY

Help Window can be displayed from any point of the program by pressing F1
function key, by selecting Help from the pull-down menu, or by pressing right
mouse button.

Help system is context sensitive so information displayed in the help window
depends on the current context e.g. if you are editing a text file in the edit
window pressing F1 will result in displaying help information related to the
text editor.

By double-clicking with a mouse on highlighted words in a help window you can
quickly access information regarding those words (cross reference).

To close a help window press Esc or click on the close box.


pg 8
EDIT WINDOW

Edit Windows are where you type in and edit your text files.

You can open as many Edit windows as you want (as long as there is enough
memory).

To close an active Edit window, click the window's close box [] or choose
Windows|Close.

To open an Edit window, choose File|Open. You can open the same file in more
than one window.

There is one special edit window called Clipboard. You can copy/cut/paste
selected blocks of text from other edit windows to Clipboard and from Clipboard
to other windows. You can display the contents of Clipboard by choosing a
command Edit|Show Clipboard from the menu.


pg 9
DIALOG BOX

Dialog boxes enable you to enter various kinds of data.

A dialog box typically contains :
 - input line (sometimes with a history list) e.g. :
    Name Ŀ
                                      
   

 - check boxes e.g. :
   Ŀ
    [X] Case sensitive     
    [X] Whole words only   
    [X] Prompt on Replace  
    [X] Replace all        
   

 - buttons e.g. :
   Ŀ
    [ Open ] 
   


You can select any of the above elements by either clicking with a mouse or
using <TAB> key (moves the focus to the next element).

If the focus is on a button press <Enter> key to push the button (or use a
mouse).

If the focus is on a set of check boxes use Up- and Down-arrow keys to move
from box to box, and use <Space> key to toggle the setting (or use a mouse).

If the focus is on a set of radio buttons use Up- and Down-arrow keys to change
the setting (or use a mouse).

To cancel a dialog box you have to press <Esc> key, or press <Alt-F3> key, or
click on the close box, or click on the standard [CANCEL] button (if one
exists).


PULL-DOWN MENU SYSTEM

Each word on a menu bar can be pulled-down into a menu box. Menu boxes contain
several items which can be selected either with a mouse or by using the arrow
keys and pressing <Enter> after positioning the cursor bar on the appropriate
item. Each menu item either immediatelly performs a function or displays a
dialog box first. All menu functions are described below.


pg 10
1.  Menu (Alt-space)

 |About

When you choose the About command from the  (System) menu, a dialog box
appears, showing copyright and program version information.

To close the box, press Esc, Space, or Enter, or click the OK button.


 |Calculator

The calculator is equipped with most common math functions. To operate the
calculator you can either use the keyboard or press the buttons on the
calculator with the mouse.

Press Alt-F3 or Esc to close the calculator.

You can select a calculator function by either clicking on a function button
with the mouse or by pressing a highlighted letter-key.

  Calculator functions :
  ======================

 [BIN] BINary mode
 [HEX] HEXadecimal mode
 [DEC] DECimal mode
 [ CL] Cancel last operation
 [ AC] All Clear
 [ + ] addition
 [ - ] subtraction
 [ * ] multiplication
 [ / ] division
 [ = ] display result
 [NEG] NEGation
 [F-C] switch between Fahrenheit and Celsius mode
 [D\R] switch between Degree and Radian mode
 [MWR] WRite to Memory
 [MRD] ReaD from Memory
 [ ( ] open bracket
 [ ) ] close bracket
 [TAN] TANgens
 [SIN] SINe
 [COS] COSine
 [ % ] percent
 [LOG] decimal LOGarithm
 [LNx] Natural Logarithm
 [e^y] e to the power of y
 [Pi ] 
 [REV] REVerse (1/x)
 [SQR] SQuaRe
 [SRT] Square RooT
 [FAC] factorial (!)
 [POW] x to the POWer of y

pg 11
Keys [A],...,[F] can be used only in HEX mode, either by clicking on them or
by pressing Ctrl-A,...,Ctrl-F.

 Additional functions:
[Send-EX] Send Expression to the edit window
[Send-RU] Send Result to the edit window

 |Calendar

The calendar displays the current month, highlighting today's date. The next
and previous months can be viewed using the '+' or '-' keys respectivly.  The
mouse can also be used to change the month by clicking on the  or  icons.

Press Alt-F3 to close the calendar.

 |ASCII table

The ASCII table displays the entire IBM PC character set.  The current
character is marked by a blinking block cursor, and the hexadecimal and decimal
ASCII values of the character are displayed below the chart. A new character is
selected by pressing it on the keyboard, by clicking the mouse on it in the
chart, or by moving the cursor using the cursor keys.

You can also send characters which cannot be entered from the keyboard to the
active edit window.
You do it by positioning the cursor on a selected character and pressing
[Send-C] button.
Press Alt-F3 to close the ASCII table.


 |Memory Info

Memory Info displays a Memory Information Window containing the following :
  - Total DOS memory : the amount of RAM memory in KB
    (up to 640KB)
  - Program size : the size (in bytes) of the part of the
    program which stays in memory all the time (not overlayed)
  - Editor buffer : the amount of memory in bytes allocated to the
    text editor
  - Overlays buffer : the amount of memory in bytes allocated to
    overlays (parts of the program that are loaded to memory from
    a hard disk when needed)
  - Remaining free memory : the amount of free memory in bytes
    used for dynamic allocation (heap) e.g. for windows;


pg 12
2. File (Alt-F)

 File|Open   (F3)

The File|Open command displays the 'Open a File' dialog box. In this dialog box
you select the name of the text file you want to edit.

The Open a File dialog box contains:

  an input box with a history list
  a list box to browse the directory
  the standard Cancel button
  Open action button
  an information panel that describes the
   selected file


  Name Ŀ
                                    
 
The Name input box is where you enter the name of the file to select, or the
file-name mask to use as a filter for the Files list box (for example, *.*).


  Files Ŀ
                                  
   FILENM01.PAS    FILENM09.PAS  
   FILENM02.PAS    FILENM10.PAS  
   FILENM03.PAS    FILENM11.PAS  
   FILENM04.PAS    FILENM12.PAS  
   FILENM05.PAS    ..            
   FILENM06.PAS    \MOREXAMP     
   FILENM07.PAS    \TOURS        
   FILENM08.PAS    \ANSWERS.DIR  
        
 
The Files list box lists the names of files in the current directory that match
the file-name mask in the Name input box, plus the parent directory and all
subdirectories.

 Ŀ
  C:\TP\EXAMPLES\*.PAS                     
  HELLO.PAS       52  Jul 14,1990  12:00pm 
 
The File information panel shows the path name, file name, date, time, and size
of the selected file. None of the items on this information panel are
selectable.

pg 13
 Ŀ
  [ Open ] 
 
The Open button opens a new edit window and places the selected file in that
window.

 Ŀ
  [ Cancel ] 
 

If you choose Cancel, nothing changes and no action occurs, and the dialog box
is put away.

(Esc always cancels a dialog box, even if a Cancel button does not appear.)


 File|New

 File|New opens a new edit window. The window automatically receives the name
'Untitled'.


 File|Save       (F2)

File|Save command saves a file from the active edit window on the disk. If a
file name does not contain a path the file is saved in the current directory.


 File|Save as

File|Save as command allows you to save the file from the active window to a
disk under a different name. This command opens a 'Save File as' dialog box.

The Save File As dialog box contains:

  an input box with a history list
  a list box to browse the directory
  the standard Cancel button
  the standard OK button
  an information panel that describes the
   selected file

 Ŀ
  [ OK ] 
 
The OK button saves a file from the active window under the name entered onto
input box.

pg 14
  Name Ŀ
                                  
 
The Name input box is where you enter the name under which you want to save the
file, or the file-name mask to use as a filter for the Files list box (for
example, *.*).


 File|Save all

This command saves all modified files that are open without asking for
confirmation.


 File|Close File

This command closes the active (top) edit window. If the file has been
modified you will be asked if you want to save it.


 File|Write Block

This function allows you to write a selected block of text to a file. The 'Save
Block as' dialog box will be displayed in which you can enter the file name
under which you want to save the selected block of text.

The Save Block As dialog box contains:

  an input box with a history list
  a list box to browse the directory
  the standard Cancel button
  the standard OK button
  an information panel that describes the
   selected file


 File|Read

This function allows you to read a file into current text. The text will be
inserted into current cursor position. The standard 'Open a File' dialog box is
opened. In this dialog box you select the name of the text file you want to
read from.


 File|Change dir

The Change Directory dialog box consists of an input box, a list box, the
standard OK and Help buttons, and two other buttons (Chdir and Revert).

pg 15
  Directory Name Ŀ
                                      
 
The Directory Name input box is where you type in the path of the new
directory.

  Directory Tree Ŀ
    Drives                            
    C:\                            
      TP                           
        TVISION                    
 
The Directory Tree list box enables you to navigate directories by using the
selecting bar and pressing Enter.

If you're using the keyboard, press Enter to make the selected directory be the
current directory, then choose OK or press Esc to exit the dialog box.

 Ŀ
  [Chdir ] 
 
The Chdir button changes the current directory once you've selected or typed in
a directory name.

 Ŀ
  [Revert] 
 
The Revert button goes back to the previous directory, as long as you haven't
yet exited the dialog box.


 File|DOS Shell

With the DOS Shell command, you can leave the program temporarily
to perform a DOS command or run another program.

It is strongly recommended that you save all modified files (File|Save all)
before using DOS Shell command.

File|Dos Shell command now gives you almost all memory available below
640KB (it can vary between 500-600KB depending on the system configuration).
This is achieved by swapping contents of RAM memory to either Expanded
Memory (if available), what gives a very fast performance, or to a temporary
VED.SWP file which is created on your drive c:.

To return to Vision Edit, type EXIT at the DOS prompt.

DOS Shell command has been developed using a procedure released to public
domain by TurboPower Software.


pg 16
 File|Run Program

File|Run Program command allows you to run external programs or execute
DOS commands from within Vision Edit.

This command opens up a Run Program dialog box which lets you enter the
program (or DOS external command) name and parameters that will be passed to
it (if any).

Run Program command has been developed using a procedure released to public
domain by TurboPower Software.


 File|Run Spelling Checker

File|Run Spelling Checker command allows you to run external Spelling
Checker program.

This command opens up a Run Spelling Checker dialog box which lets you enter
the name of the Spelling Checker program and the name of the file to be
checked.

If you want the VED to save the name of the Spelling Checker program:

 -Enter the name of the program
 -press GO button (invokes the Spelling Checker program)
 -now choose 'Save Options' item from pulldown menu under 'Options'

 File|Exit   (Alt-X)

The Exit command terminates this program.


pg 17
3. Edit (Alt-E)

 Edit|Undo    (Ctrl-U)

Undoes all the changes from made from the last cursor movement.


 Edit|Cut    (Shift-Del or Ctrl-K Y)

Deletes the selected block of text from the active window to the clipboard.


 Edit|Copy    (Ctrl-Ins or Ctrl-K K)

Copies the selected block of text from the active window to the clipboard.


 Edit|Paste  (Shift-Ins or Ctrl-K C)

Copies a block of text from the clipboard to the active window.


 Edit|Show Clipboard

Displays a Clipboard window on the screen.


 Edit|Clear

Deletes the selected block of text from the active window.


 Edit|Line/Column Block Mode

This command enables you to switch between Line and Column block mode.

"L" displayed at the top left corner of the active window indicates the Line
block mode.

"C" displayed at the top left corner of the active window indicates the Column
block mode.

Both Line and Column block mode work with Block selection as well as block
operations (block delete, copy, cut, paste & block dragging).

For block selection and block dragging you can use both mouse and keyboard
(arrow keys).

See also:
 Edit|Block Dragging On/Off,
 Block Commands
pg 18

 Edit|Block Dragging On/Off

This command switches between Drag Mode On and Off.

If Drag Mode is On then "D" is displayed at the top left corner of the active
window (beside Line/Column Block Mode indicator).

If you are in a drag mode (after you have selected a block) you can drag a
block around the window using either mouse or arrow keys. In a Column Mode you
can drag a block in all 4 directions while in a Line Mode you can drag a block
only up and down.

In a Drag Mode most commands are not active (except for some block operations:
cut, block delete, paste, copy, line/column mode).

See also:
 Edit|Line/Column Block Mode,
 Block Commands


pg 19
4. KeyCmds (Alt-K)

This menu lets you select various editing hot-key commands from the menu if
you do not remember the hot-keys. It is especially convenient for new users.

 KeyCmds|Boxes

Displays Boxes submenu from which you can select box styles.

 KeyCmds|Boxes|NoBox     (Ctrl-Alt-0) or (Shift-Alt-0)

It restores a normal mode of operation for Arrow Keys if you have used them for
drawing boxes.

 KeyCmds|Boxes|SingleBox    (Ctrl-Alt-1) or (Shift-Alt-1)

It selects Single Box drawing style. You can draw boxes using Arrow Keys.

To draw a box (or a line) using a mouse click at one point (first box corner),
move the mouse cursor to another location (opposite box corner), and click
again. A box will be created with two opposite corners located where you
clicked a mouse. If two clicked points are on the same line a horizontal line
will be created. If two clicked points are on the same column a vertical line
will be created.

Example Single Box:

      Ŀ
      Ĵ
      

 KeyCmds|Boxes|DoubleBox    (Ctrl-Alt-2) or (Shift-Alt-2)

It selects Double Box drawing style. You can draw boxes using Arrow Keys
or a mouse as described for Single Boxes above.

Example Double Box:

      ͻ
      ͹
      ͼ


 KeyCmds|Boxes|MixedBox     (Ctrl-Alt-3) or (Shift-Alt-3)

It selects Mixed Box drawing style. You can draw boxes using Arrow Keys
or a mouse as described for Single Boxes above.

pg 20
Example Mixed Box:

     ͸
     ͵
     ;



 KeyCmds|Boxes|Eraser     (Ctrl-Alt-4) or (Shift-Alt-4)

It puts Arrow Keys into Erase Mode. You can erase boxes and other characters
using Arrow Keys or a mouse as described for Single Boxes above.

 KeyCmds|Block Commands

Displays a submenu from which you can select the following commands:

   - Mark Block Beginning (Ctrl-K B)
   - Delete Block (Del or Ctrl-Del)
   - Hide/Show Block (Ctrl-K H)
   - Paste from Clipboard (Ctrl-K C or Shift-Ins)
   - Cut to Clipboard (Ctrl-K Y or Shift-Del)
   - Copy to Clipboard (Ctrl-K K or Ctrl-Ins)
   - Indent Block (Ctrl-K I)
   - Unindent Block (Ctrl-K U)
   - Default Indent (Ctrl-K Space)
   - Upper to Lower Case (Ctrl-K L)
   - Lower to Upper Case (Ctrl-K O)
   - Flip Case (Ctrl-K F)
   - Print Block/File (Ctrl-K P)

 KeyCmds|Cursor Movement

Displays a submenu from which you can select the following commands:

   - Word Left (Ctrl-A or Ctrl-Right Arrow)
   - Word Right (Ctrl-F or Ctrl-Left Arrow)
   - Line Up (Ctrl-E or Up Arrow)
   - Line Down (Ctrl-X or Down Arrow)
   - Page Up (Ctrl-R or PageUp)
   - Page Down (Ctrl-C or PageDown)
   - Screen Top (Ctrl-Home)
   - Screen Bottom (Ctrl-End)
   - Screen Center (Ctrl-Q M)
   - Text Start (Ctrl-PgUp)
   - Text End (Ctrl-PgDn)

pg 21
 KeyCmds|Insert/Delete Commands

Displays a submenu from which you can select the following commands:

   - Insert Mode On/Off (Ctrl-V or Ins)
   - Delete Line (Ctrl-Y)
   - Delete to End Of Line (Ctrl-Q Y)
   - Delete Char Left (Ctrl-H or Backspace)
   - Delete Char (Ctrl-G or Del)
   - Delete Word Right (Ctrl-T)
   - Duplicate Line (Ctrl-K D)

 KeyCmds|Miscellaneous Commands

Displays a submenu from which you can select the following commands:

   - Close Active Window (Alt-F3)
   - Auto Indent On/Off (Ctrl-O)
   - Find Matching Bracket (Ctrl-Q [ or Ctrl-Q ])
   - Force Page Break (Ctrl-P)
   - Reformat Paragraph (Alt-R)
   - Center Line (Alt-V)

Displays a submenu from which you can select the following commands:

 KeyCmds|Set Marker

This command sets the marker #0 at the current cursor position. Later you
can quickly find this marker by using KeyCmds|GoTo Marker menu command.

You can set up to 10 markers by using hot-key commands Ctrl-K 0..9.

 KeyCmds|GoTo Marker

This command finds the marker #0 which has been set by using
KeyCmds|Set Marker menu command.

You can find markers #0..9 by using hot-key commands Ctrl-Q 0..9.

 KeyCmds|Miscellaneous|Reformat Paragraph    (Alt-R)

A Paragraph means a portion of text (typically several lines) delimited by
empty lines.

Reformat Paragraph function works only for the current paragraph (on which the
cursor is positioned). It tries to accommodate as many words as possible on
every line. If a line is too long it is wraped.


pg 22
5. Search (Alt-S)

 Search|Find

Displays a Find dialog box.

The Find dialog box contains an input box with a history list, a group of
check boxes, and the standard OK, and Cancel buttons.

 Ŀ
  Text to Find                        
 
Enter the search string in the Text to Find input box and choose OK to begin
the search, or choose Cancel to forget it. You can also enter ASCII codes
directly from the keyboard - hold down Alt key, enter ASCII code from the
numeric keypad and release Alt key.

Press the Down arrow key if you want to show the history list associated with
the input box. You can select a string from the history list by positioning
the cursor on it and pressing <Enter> or by clicking on the item with a mouse.

 Ŀ
  [X] Case sensitive     
  [X] Whole words only   
 
This group of check boxes governs the kind of strings that the editor searches
for.

 StartĿ
  [X] From Cursor  
  [X] From Origin  
 
This group of check boxes determines whether the Search starts from the
current cursor position or from the beginning of the file.

 Regular ExpressionsĿ
  [X] On/Off           
 
When Regular Expressions is checked on Vision Edit recognizes GREP-like
wildcards in the search string.


 Search|Replace

Displays a Replace dialog box.

The Replace dialog box contains three input boxes with associated history
lists, a group of check boxes, and the standard OK, and Cancel buttons.

Most components of the Replace dialog box are identical to those in the Find
dialog box.

pg 23
 Ŀ
  Text to Find                      
 
Enter the search string in the Text to Find input box and choose OK to begin
the search, or choose Cancel to forget it. You can also enter ASCII codes
directly from the keyboard - hold down Alt key, enter ASCII code from the
numeric keypad and release Alt key.

Press the Down arrow key if you want to show the history list associated with
the input box. You can select a string from the history list by positioning
the cursor on it and pressing <Enter> or by clicking on the item with a mouse.

 Ŀ
  New Text                          
 
Enter the replacement string in the New Text input box. You can also enter
ASCII codes directly from the keyboard - hold down Alt key, enter ASCII code
from the numeric keypad and release Alt key.

You can also use the history list to the right of the box to select a string
you've used previously.

 Ŀ
  [X] Case sensitive     
  [X] Whole words only   
  [X] Prompt on Replace  
  [X] Replace all        
 
This group of check boxes governs the kind of strings that the editor searches
for, and whether the replacement is automatic. Check Replace All if you want
the editor to replace all occurrences of the search string found.



 StartĿ
  [X] From Cursor  
  [X] From Origin  
 
This group of check boxes determines whether the Search/Replace starts from
the current cursor position or from the beginning of the file.

 Regular ExpressionsĿ
  [X] On/Off           
 
When Regular Expressions is checked on Vision Edit recognizes GREP-like
wildcards in the search string.


pg 24
 Search|Search again    (Ctrl-L)

Repeats the last search/replace from the current cursor position.



 Search|GoToLine   (Ctrl-Q G)

Displays a GoToLine dialog box.

It allows you to enter the line number to which you want to jump directly.

The GoToLine dialog box contains one input boxe with associated history list,
and the standard OK, and Cancel buttons.

 Ŀ
  Enter line number  123   
 

In the input line you can enter the line number to which you want to jump
directly.


 Regular Expressions

Regular Expresions can be used in a search string. They can contain the
following wildcard characters:
 Ŀ
  ^  $  .  *  +  []  \ 
 


 ^    A circumflex at the start of the string
      matches the start of a line.

 $    A dollar sign at the end of the
      expression matches the end of a line.

 .    A period matches any character.

 *    A character followed by an asterisk
      matches any number of occurrences
      (including zero) of that character.
      For example "bo*" matches "bot","b",
      "boo" and also "be".

 +    A character followed by a plus sign
      matches any number of occurrences
      (but not zero) of that character. For
      example "bo+" matches "bot" and "boo",
      but not "be" or "b".

pg 25
 []   Characters in brackets match any one
      character that appears in the brackets
      but no others. For example "[bot]"
      matches "b", "o" or "t".

 [^]  A circumflex at the start of the string
      in brackets means NOT. Hence, "[^bot]"
      matches any characters except "b", "o"
      or "t".

 [-]  A hyphen within the brackets signifies
      a range of characters. For example,
      "[b-o]" matches any character from "b"
      through "o".

 \    A backslash before a wildcard character
      means that the wildcard will be treated
      as a normal character not as a wildcard.


pg 26
6. Windows (Alt-W)

 Windows|Size/Move      (Ctrl-F5)

Choose this command to change the size or position of the active window.


 Size

If you press Shift while you use the arrow keys, you can change the size of
the active window. Once you've adjusted its size or position, press Enter. If
a window has a Resize corner, you can drag that corner to resize the window.


 Move

When you choose Windows|Size/Move, the active window moves in response to the
arrow keys. Once you've moved the window to where you want it, press Enter.
You can also move a window by dragging its title bar with the mouse.


 Windows|Zoom      (F5)

Choose Zoom to resize the active window to the maximum size. If the window is
already zoomed, you can choose this command to restore it to its previous
size. You can also double-click anywhere on the window's title bar (except
where an icon appears) to zoom or unzoom the window.


 Windows|Tile
              
Choose Windows|Tile to tile all windows on the desktop.
 Ŀ
  1ͻ2Ŀ 
                                 
                                 
                                 
                                 
  ͼ 
  3Ŀ4Ŀ 
                                 
                                 
                                 
                                 
   
 
             Tiled Windows


pg 27
 Windows|Cascade

Choose Windows|Cascade to stack all windows on the desktop.

 1Ŀ
 2Ŀ
 3Ŀ
 4ͻ
                          
                          
                          
                          
                          
 ͼ

        Cascaded Windows


 Windows|Next     (F6)

Choose Next to cycle forwards through the windows on the desktop.


 Windows|Previous      (Shift-F6)

Choose Windows|Previous to cycle backwards through the windows on the desktop.


 Windows|Close      (Alt-F3)

Choose  Windows|Close to close the active window. You can also click the Close
box in the upper left corner to close a window.


 Windows|Synchro (Ctrl-F6)

After you select this command from the menu or press Ctrl-F6 2 top windows
become synchronized. They are resized and moved so that one window occupies
the top half and the other the bottom half of the desktop.

From now on every key you press is sent to both windows. They scroll together
and react to editing operations (e.g. inserting or deleting characters) in the
same way. Even search works for both windows.

Synchronization of the windows is broken after selecting Synchro command (or
pressing Ctrl-F6) the second time.


 Windows|List of Files

Displays a File List dialog box allowing to select an open file from the list
of all open files.


pg 28
 Windows|Switch Screen

This command switches between the normal- and full-screen mode. In the
full-screen mode the Menu Bar and the Status Line are hidden and the
Desktop covers the whole screen.


 Windows|Show/Hide Ruler

This command shows/hides the ruler at the top of the screen, just below
the menu bar. You can click on the ruler with a mouse to position the cursor
in the edit window on the selected column. Tabs are marked on the ruler with
"" and the right margin is marked with "" character. You can double click
on the ruler to change the right margin setting.

 Windows|Show/Hide Tool Bar

The Tool Bar can be displayed or hidden at the top of the screen by choosing
Windows|Show/Hide Tool Bar item from the pull down menu.
You can click on the tool bar with a mouse to generate command.
Icons represent commands:

 replace wordsĿ  print block/file
 search againĿ      line/block mode switch
    find wordĿ          reformat paragraf
    close fileĿ                 close tool bar
                            Ŀ Ŀ  Ŀ
   Ŀ
  ?   []!!!    LCܳABC...[]
   
         open file            
      save file            spelling checker
   help on the tool bar

pg 29
7. Options (Alt-O)

 Options|Mouse...

The Mouse command brings up the Mouse Options dialog box, where you can set
various options that control how your mouse works, including:

  how fast a double-click is
  which mouse button (right or left) is active

The Mouse Options dialog box consists of one check box, one slider bar, and
the standard buttons OK and Cancel.

 Ŀ
  Mouse Double Click       
  Slow     Medium     Fast 
     
 
The Mouse Double Click slider bar adjusts the double-click speed of your
mouse.

 Ŀ
  [X] Reverse Mouse Buttons 
 
Reverse Mouse Buttons makes the right mouse button take on the normal
functions of the left--and vice versa.


 Options|Colors...

The Colors item brings up the Colors dialog box, where you can customize the
colors of the display.

The Colors dialog box consists of two list boxes, a text display area, the
standard OK, Cancel, and Help buttons, and one of the following:

  On color and black-and-white systems, it
   also contains two color palettes.
  On monochrome systems, it contains a set
   of radio buttons instead of the palettes.

This dialog box is where you can change the colors of different parts of this
program.


pg 30
  Group Ŀ
    Desktop           
    Menus            
    Dialogs/Calc     
    Edit Window      
    Calendar         
    Ascii table      
                      
 
The Group list box contains the names of the different regions of the program
that you can customize.

  Item Ŀ
    Color             
                     

When you select a group from the Group list, the Item list box displays the
names of the different views in that region.

  Foreground     Background 
        
        
      
 
On color and black-and-white systems, you use the Foreground and Background
palettes to modify colors.

  Colors Ŀ
   () Mono low        
   ( ) Mono high       
   ( ) Mono underscore 
   ( ) Mono inverse    
 

On monochrome systems, you use the Colors set of radio buttons systems to
modify the character attributes.

 Ŀ
  Text Text Text 
  Text Text Text 
 
On all systems, the display text (above the Help button) shows the current
color or attribute settings.

Changes do not take effect on the desktop until you close the Colors dialog box
by choosing OK.


pg 31
 Options|Preferences...

The Preferences item brings up the Preferences dialog box, where you can set
Auto Save options as well as the Screen Size (if you have EGA/VGA graphics
adapter you can change the display mode from 25 to 43/50 lines).

In this dialog box you can also change various Editor settings.
It contains:

- 3 Auto Save check boxes :

     Auto Save Ŀ
     [X] Desktop  
     [X] Options  
     [X] Backup   
    
If a Desktop box is checked Vision Edit saves Desktop in VED.DSK file. If
VED.DSK file exists Desktop will be restored automatically on the startup.

If a Options box is checked Vision Edit saves Options in VED.OPT file. If
VED.OPT file exists Options will be restored automatically on the startup.
Options include all settings of this dialog box.

If Backup box is checked Vision Edit will always save the last version of the
edited file giving it the same name with BAK extension.


- 3 Edit Options check boxes :

     Edit OptionsĿ
     [X] Auto Indent      
     [X] Auto Wrap        
     [X] Show Page Breaks 
    
If Auto Indent is checked, after you press Enter key the cursor will be
positioned on a new line and below the first word of the previous line.

If Auto Wrap is checked, the cursor will move automatically to the next line
after you reach the right margin (last word will be moved to the new line).

If Show Page Breaks is checked the last line on each page
is shown in a different color (default: yellow text on red background).
Page Breaks are calculated according to the Number of Lines per Page
setting in Print Options dialog box. You can change the color in which page
breaks are displayed using Options|Colors menu command.

pg 32
- 1 set of Screen Size radio buttons :

     Screen Size Ŀ
      () 25 lines    
      ( ) 43/50 lines 
    
If you have a EGA/VGA graphics adapter you can display 43/50 lines on the
screen.

- 1 input line :
                Ŀ
  Right Margin:   78  
                
It allows you to select the Right Margin Setting.

- 1 set of Right Margin radio buttons :

     Right Margin: Ŀ
      () Use window's size   
      ( ) Use margin setting  
    
If you select "Use window's size" then a window's right edge will be
assumed to be a right margin for Reformat Paragraph and Auto Wrap
functions.
If you select "Use margin setting" then a Right Margin set on the above
input box will be used as a right margin for Reformat Paragraph and
Auto Wrap functions.

- 1 set of TABs radio buttons :

     TABs Ŀ
      () Use Spaces - smart TABs
      ( ) Use TAB characters     
    
If you select Use Spaces, whenever you press TAB key the appropriate number of
spaces will be inserted. This option is useful for programmers since the
cursor will move to the position under the next word of the previous line. If
you select Use TABs, TAB character will be used (ASCII code #9) when you press
a TAB key.

- 1 input line :

             Ŀ
  TAB width    8   
             
It allows you to select the width of TABs.

pg 33
- 1 set of <ENTER> Char radio buttons :

     <ENTER> Char Ŀ
      () CR + LF     
      ( ) CR          
      ( ) LF          
    
If you select CR+LF (default) every time you press the <ENTER> key a sequence
of CR (ASCII code #13) and LF (ASCII code #10) characters is inserted into a
text (standard for most applications).

If you select CR every time you press the <ENTER> key only the CR (ASCII code
#13) character is inserted into a text.

If you select LF every time you press the <ENTER> key only the CR (ASCII code
#10) character is inserted into a text (this convention is used on Unix
systems).

These options work only if the below <ENTER> Mode is set to Insert Line.

- 1 set of <ENTER> Mode radio buttons :

     <ENTER> Mode Ŀ
      () Insert Line 
      ( ) Next Line   
    
If you select the Insert Line mode (default) every time you press the <ENTER>
key a new line is inserted into a text (CR+LF or CR characters are inserted
depending on the above <ENTER> Char setting). When you select the Next Line
mode no new lines are inserted after you press the <ENTER> key. Instead a
cursor moves to the beginning of a next line (or if Auto Indent is set a
cursor is positioned below the first non-blank character).

- 1 set of Indent Mode radio buttons
and Indent Str/Char input line:

     Indent Mode Ŀ      Indent Str/Char
      () ASCII code        Ŀ
      ( ) String             32          
          
If you select ASCII code then the following Indent Str/Char input line
has a meaning of an ASCII code of a character. This character will be
inserted in front of all selected lines when you use Block Indent function
(Ctrl-K I). The default is the Space character (ASCII code #32).
If you select String then the following Indent Str/Char input line
has a meaning of a string of characters. This string will be
inserted in front of all selected lines when you use Block Indent function
(Ctrl-K I).
The Default button below restores the default Indent Mode to ASCII code
and the Indent Str/Char to #32 (space). When you are editing text you
can return to the default mode by pressing Ctrl-K followed by the space.


pg 34
 Options|Save Desktop

Saves the state of all open windows to a file call VED.DSK. This file can be
reloaded by selecting Options|Restore Desktop.

Also history lists of file names open or printed during the session, as well as
keywords used in Search and Search & Replace are stored in VED.DSK file.


 Options|Restore Desktop

Restore a previously-saved state of all open windows from a file called
VED.DSK. This file is saved via the Options|Save Desktop menu command.

Also history lists of file names open or printed during the previous session,
as well as keywords used in Search and Search & Replace are loaded from VED.DSK
file.


 Options|Clear Desktop

Clears desktop by closing all open windows and dialog boxes.

 Options|Load Options

This command loads Color Palettes, Mouse Options, Edit Preferences,
Macros, and Search Options from VED.OPT file if the file exists. The
VED.OPT file is created by Options|Save Options command.

You can modify Color Palettes using Options|Colors command.

You can modify Mouse Settings using Options|Mouse command.

You can modify Edit Preferences using Options|Preferences command.


 Options|Save Options

This command saves color palettes, Mouse Options, Edit Preferences,
Macros, and Search Options to VED.OPT file. If the file exists it will be
overwritten. The options from the VED.OPT file are loaded using Options|Load
Options command.

You can modify Color Palettes using Options|Colors command.

You can modify Mouse Settings using Options|Mouse command.

You can modify Edit Preferences using Options|Preferences command.


pg 35
8. Print (Alt-P)

 Print|Print Options

This command displays a Print Options dialog box which allows setting the
following parameters:
 - DOS LPT # : LPT1,...,LPT4
 - Eject a page Before printing (Yes/No)
 - Eject a page After printing (Yes/No)
 - Left Margin
 - Page Length
 - Top Margin
 - Bottom Margin
 - Printer Initialization String


 Print|Print File

This command displays a Select File to Print dialog box which allows you to
select a file that you want to print.

The 'Select File to Print' dialog box contains an input box, a file list, a
file information panel, the standard button Cancel, one other action button
(Open), plus a history list that's attached to the Name input box.

The file must exist on your disk, so if you are editing a new file you have to
save it before you can start printing.

After you select a file to print, printing starts and a Print Status window is
displayed.

You can cancel printing at any time by pressing F9 function key or by clicking
with the mouse on Stop Print label on the status line.

Since printing is done in "background" you can continue using other functions
of Vision Edit during printing.

You can print a file directly from the active window by pressing Ctrl-K P.
The same command can be used to print a selected block.

 Print|Print Block/File

This command prints a selected block. If no block has been selected
the whole file from the active edit window will be printed.

 Print|Header

Displays a Header/Footer dialog box allowing you to create a header.

Header/Footer dialog box allows to easily create headers and footers.

After you create a header or footer do not forget to check the Use
Headers/Footers check box in a Print Options dialog box if you want the
header and/or footer to be printed.


pg 36
The easiest way to create a header/footer is to press a Default button
what will create a standard header/footer containing: Page Number, File
Name, System Date, and File Creation Date.

If you do not like the standard layout you can edit the Header/Footer
Window. Text entered from the keyboard will be printed exactly as it
looks on the screen.

In addition to plain text you can include in your headers/footers the
following: Page Numbers, File Name, System Date and File Creation Date
by pressing the appropriate buttons. You can quickly clear the
Header/Footer Window by pressing Blank button.

You can move a selected word (a word which includes the cursor) by
pressing Left, Center, and Right buttons. You can move in the same way
more than 1 word by highlighting text with a mouse.

You can Write a newly created header and footer to a file by pressing
Write button.

You can Read a previously created header and footer from a file by pressing
Read button.

All buttons can be selected either with a mouse or with a Alt-<Hot Key>
combination.

 Print|Footer

Displays a Header/Footer dialog box allowing you to create a footer.

 Print|Display Status

This command displays a Print Status window if it has not been already open.
You can close it at any time using menu command Print|Close Status.

Print Status Window displays the following (with respect to the currently
printed file):
 - current character number
 - current line number (on the current page)
 - current page number
 - file name
 - Graphical Indicator showing the percentage already printed:

          
          |           |           |
          0%          50%       100%


 Print|Close Status

This command closes a Print Status window if it has been open. You can reopen
it later (during printing) using menu command Print|Open Status.

pg 37

 Print|Stop Print

Cancels printing (the printer will still be printing for a while
until its internal buffer is empty).

pg 38
9. Macros

 Macros|Start Macro

This command displays a Create Macro File dialog box which is similar to Open a
File Dialog Box. You have to enter a name of the macro file in which macro
operations will be stored. The default macro file extension is MAC.

After you select the macro file name a Macro Description dialog box is
displayed. You can enter a one-line description of a macro here (up to 128
characters).

After you close a Macro Description dialog box a flashing message 'Macro
Recording' is displayed on the status line. From now on all keys that you
press, most edit operations including search and replace are recorded in the
macro file.

To stop macro recording select End Macro function from the Macro menu.

The macro that you have just created will be added to the list of available
macros in the Macro menu. You can execute a macro by selecting it from the
Macro menu or by pressing a hot key assigned to that macro.


 Macros|End Macro

This command completes macro recording started with Start Macro command. It
closes a macro file and from now on you can execute that macro.


 Macros|Load Macro

This command allows you to select a macro file which has been created
previously. An Open Macro dialog box is displayed allowing you to select a
macro file. The selected macro is added to the list of macros in the Macro
menu and becomes available for execution.


 Macros|Execute Macro

All macros available for execution are displayed in the Macro menu under the
dividing line. There can be up to 7 macros available at once. You can execute
a macro by either selecting its name from the Macro menu or by pressing a
hot-key assigned to this macro. All hot-key assignments are automatic. The
first macro is assigned Alt-F4, the second Alt-F5, and so on up to Alt-F10.

If you already have 7 macros in the Macro menu adding a new macro will remove
the first macro from the list of macros available.


pg 39
 Macros|Suspend Macro

This command suspends recording a macro so that you can do some operations
which you do not want recorded in the macro file. You can resume recording the
macro by selecting Continue Macro command.


 Macros|Continue Macro

This command allows you to continue recording a macro which has been suspended
with Suspend Macro command.


 Macros|Repeat Macro

Displays a Repeat Macro dialog box which allows you to specify how many times
the macro should be repeated.
pg 40
10. Config

 Config|Mode & Direction

The Mode & Direction item brings up the Set-Options dialog box,
where you can set:
-Edit Direction (sets the direction of editing)

-Table (which Ascii-Table will be used)

-Push Mode (allows two different direction of editing)

Set Options dialog box allows you to set the Direction of editing, the Ascii
Table (which codes will correspond to which keys) and also the Push Mode.
It contains:

-Edit Direction radio buttons :

     Edit Direction Ŀ
     () left->right   
     ( ) right->left   
    
When left->right is marked then cursor moves from left to right.
When right->left is marked then cursor moves from right to left
Second setting usable for languages like Hebrew or Arabic.

-Table radio buttons :

     Table (Switch Ctrl-Q-T)Ŀ
     () Ascii Regular         
     ( ) Ascii Converted       
    
When Ascii Regular is marked then editor uses standard Ascii codes.
When Ascii Converted is marked then editor uses alternative table
which has been defined previously. Before you want to use Ascii Converted
option you have to define Ascii Converted table using Define Translation
Table dialog box or you can load Converted Table from any *.TAB file by
invoking Config|Load New Table item from menu.

-Push Mode radio buttons :

     Push Mode Ŀ
     ( ) Enable   
     () Disable  
    
This option enables mixing the directions of editing.

pg 41
Some Possible settings:
(1) - left->right
      Ascii Regular
      Push Disable    :
You can edit files in a standard way.

(2) - left->right
      Ascii Converted
      Push Disable    :
You can edit files in a standard way but VED uses alternative table.
You can switch between (1) and (2) modes by pressin Ctrl-Q-T hot keys.

(3) - left->right
      Ascii Converted
      Push Enable   :
You can push characters (from alternative table) to the right.
You can switch between (3) and (1) modes by pressin Ctrl-Q-T hot keys.

(4) - right->left
      Ascii Converted
      Push Enable   :
Editing starts from right side and cursor moves from rigth to left (for
languages like Hebrew, Arabic).

(5) - right->left
      Ascii Regular
      Push Enable   :
You can push characters to the left.
You can switch between (4) and (5) modes by pressin Ctrl-Q-T hot keys.

(6) - right->left
      Ascii Converted
      Push Disable   :
Editing starts from right side and cursor moves from rigth to left (for
languages like Hebrew, Arabic).

 Config|Define New Table

The Define New Table item brings up the Define Translation Table dialog box
where you can define a Converted Ascii Table.
This dialog box allows you to create The Ascii Converted Table.
There are the Standard Ascii Chart from which you can send codes to
input boxes, columns of input boxes for entering new characters
or symbols, Send button (for sending the chosen symbol from the Ascii Chart
to the active input box), and the standard buttons ( Cancel, OK, Help ).

pg 42
One way of creating a new table:

(1) - activate an input box ( you can use a Mouse );

(2) - choose a symbol from the Ascii Chart ( only if you
have a mouse ) which you want to put in the active
input box;

(3) - press the button SEND, the previous symbol is replaced by a new one,
and the next input box is activated.

Now you can repeat action from the point (2) if you want to change
the symbol of the following input box or you can start from the
point (1).

Second way of creating a new table :

(1) - activate an input box (use TAB key for forward direction and
Shift-TAB keys for backward direction);

(2) - use <Alt>-<Numeric-Keypad> sequencies for entering symbols.
Repeat action from (1).

When you define the whole Converted Table press button OK.
This command displays Create Table File dialog box.
You have to enter a name of the table file in which the table will be stored.
The default table file extension is TAB. This table is active and can be used
by VED. Next time this table can be loaded from the table file.


 Config|Load New Table

This command allows you to select a table file which has been created
previously. An Open Table dialog box is displayed allowing you to select
a table file. Codes from this file are loaded to Converted Ascii Table and
they can be used when proper settings are defined in Config|Mode & Direction.


 Config|Commands Mode

This command displays a Commands Mode dialog box which allows you to switch
between the standard Vision Edit commands and user-defined commands.


 Config|Define Commands

This command displays a Define Commands dialog box which allows you to
redefine the standard Vision Edit hot keys.

pg 43
The dialog box contains:

1) ListBox - displays all commands of VED for which hotkeys can be redefined
(you can use Mouse,or arrows, PgUp, PgDn, Home, End keys in order to move
highlighted bar among commands);

2) Two Input Lines - in those lines the current shortcuts are displayed for a
highlighted command.

3) Buttons - 'Modify-1' button: when pressed, you can modify first shortcut
(you can press key '1' and the same command will be generated);

'Modify-2' button: when pressed, you can modify second shortcut (you can press
key '2' to generate this command);

'Clear-1','Clear-2' buttons: to delete current hotkey for highlighted command;

'Clear-All' button: deletes hotkeys for all VED commands;

'OK' button: when you finish modification and you press this button you can
save your hotkeys in a file (default extension .CMD);

Cancel button: when pressed changes will not be saved and the dialog box will
be closed.

4) Below horizontal line there are buttons (arranged like a keyboard) which
allow you to define your hotkeys. At the beginnig they are disactivated. When
you press 'Modify-1' or 'Modify-2' button some of those buttons are activated.
Activated buttons show the way in which new hotkeys can be defined (which keys
can be at the first,second,and third position).

How to define new hotkeys:
-highlight the command in List Box;

-press 'Modify-1',or 'Modify-2' button; if command is included in Menu, Status
Line, or Pulldown Menus and you have chosen 'Modify-1' the new shortcut will
overwrite the old one.

! NOW YOU SHOULD USE BUTTONS BELOW THE HORIZONTAL LINE !

-choose the first key;
-choose the second key (if allowed);
-choose the third key  (if allowed);

-the modification ends automatically when the key is pressed and this key
ends possible shortcut;

-if the shortcut is used by another command the Inform window will be
displayed asking if you want to save new shortcut and delete old one or
descard changes and return to previous situation;

pg 44
-if you do not have a mouse you can use the corresponding keys from your
keyboard;

Possible shortcuts:
  One Key: F1 - F10, Delete, End, Home, PgUp,
                PgDn, DownArr, UpArr, LeftArr,
                RigthArr, BackSpace, Insert

  Two Keys: Shift-F1,..,F10     Alt-F1,..,F10
            Shift-Ins           Alt-A,..,Z
            Shift-Tab           Alt-Space
            Shift-Delete        Alt-Minus
                                Alt-Equal

            Ctrl-A..Z (without I,Q,K)
            Ctrl-Insert
            Ctrl-Home
            Ctrl-PgUp
            Ctrl-PgDn
            Ctrl-Delete
            Ctrl-End
            Ctrl-RightArr,LeftArr
            Ctrl-DownArr,UpArr
            Ctrl-BackArr

  Three Keys: Ctrl-K-A..Z   Ctrl-Q-A..Z
              Ctrl-K-[      Ctrl-Q-[
              Ctrl-K-]      Ctrl-Q-]
              Ctrl-K-Space  Ctrl-Q-Space

How to use new shortcuts:
-first define your shortcuts;
-save them in a file (.CMD extension);

-from 'Config' choose 'Load Commands'
  item and load your ??.CMD file;

-from 'Config' choose 'Mode Commands' and mark 'Use new Commands';

-save VED options if you want Editor to start with the same setting;

-if you are in a 'Use new Commands' mode and you open 'Define Commands'
dialog box then you can modify your short cuts and save then in a new or old
file.

 Config|Load Commands

This command displays a Load Commands dialog box which allows you to load a
previously defined hot keys from a file.


pg 45
11. Help

 Help|Help Index      (Ctrl-F1)

Help|Help Index command displays a list of topics which are explained by the
Help system. You can get to the topic explanation by double-clicking
on the topic.


pg 46
USING EDITOR

1. Using Edit Windows

A window is a bordered screen area that you can move, resize, zoom, rearrange,
close, and open.

You can have any number of windows open on the desktop (as long as there is
enough memory), but only one window can be active at any time. The active
window is the one that you're currently working in. It always has a
double-lined border around it, and it always has these elements:

  Line/Column
  Block Mode
           Dragging On
    Close                     Zoom
      box   Current Char      box
            Code             
                             
    []LD32 Title Bar [|]ͻ
                                   
                                   
                                   
                                   
                                   
                                   <Ŀ
                                        
    1:2ͱͼ     
     ^ ^                ^                 
                      Ĵ
Line #                                   
      Column #                   Scroll Bars

Generally, any command you choose or text you type applies only to the active
window. If your windows overlap, the active window is always the topmost one
(the one on top of all the others).

To make a window active (topmost), click on the window area (if part of it is
visible), use Windows|Next command or press F6 until you get to the desired
window.

Also first 9 windows are numbered from 1 to 9. If the window has a number it
is displayed beside the Zoom Box (in the upper right corner). Numbered windows
can be selected by pressing Alt-<n> keys where <n> is the window number
(1..9).

Edit windows also show the cursor's position (the current line and column
number) as YY:XX in the bottom of the Edit window frame, where YY is the line
number and XX is the column number.

Every active edit window displays the Ascii code of the current character (at
the top left corner).

pg 47
To close the active Edit window, choose Windows|Close, click on a close box
or press Alt-F3.

Once in the Edit window, you enter text just as if you were using a
typewriter.

  When you want to end a line, press Enter.
  To exit the editor, press F10 (it will get
   you to the menu bar).

The maximum line width in an Edit window is 2048 characters.


2. Editing Commands

 Cursor Movement Commands


 Character left   Ctrl-S or Left arrow
 Character right  Ctrl-D or Right arrow
 Word left        Ctrl-A or Ctrl-Left arrow
 Word right       Ctrl-F or Ctrl-Right arrow
 Line up          Ctrl-E or Up arrow
 Line down        Ctrl-X or Down arrow
 Page up          Ctrl-R or PgUp
 Page down        Ctrl-C or PgDn
 Begining of text Ctrl-PgUp
 End of text      Ctrl-PgDn
 Top of screen    Ctrl-Home
 Bottom of screen Ctrl-End
 Middle of screen Ctrl-Q M



 Insert & Delete Commands


 Insert mode on/off    Ctrl-V or Ins
 Delete line           Ctrl-Y
 Delete to end of line Ctrl-Q Y
 Delete character left Ctrl-H or Backspace
 Delete character      Ctrl-G or Del
 Delete word right     Ctrl-T
 Duplicate line        Ctrl-K D


pg 48
 Block Commands


 Mark block begin     Ctrl-K B or Shift-arrow
 Delete block         Del or Ctrl-Del
 Hide/display block   Ctrl-K H
 Paste from Clipboard Ctrl-K C or Shift-Ins
 Cut to Clipboard     Ctrl-K Y or Shift-Del
 Copy to Clipboard    Ctrl-K K or Ctrl-Ins
 Block Indent         Ctrl-K I
 Block Unindent       Ctrl-K U
 Upper to Lower case  Ctrl-K L
 Lower to Upper case  Ctrl-K O
 Flip case            Ctrl-K F
 Indent Default       Ctrl-K Space
 Print Block/File     Ctrl-K P


 Miscellaneous Commands


 Menu bar              F10
 Save and edit         F2
 New file              F3
 Close active window   Alt-F3
 Tab                   Ctrl-I or Tab
 Auto-Indent On/Off    Ctrl-O
 Find                  Ctrl-Q F
 Find & replace        Ctrl-Q A
 Repeat last find      Ctrl-L
 Set Marker            Ctrl-K 0..9
 Find Marker           Ctrl-Q 0..9
 Go to line            Ctrl-Q G
 Find Matching Bracket Ctrl-Q [ or Ctrl-Q ]
 Duplicate line        Ctrl-K D
 Force Page Break      Ctrl-P
 Reformat Paragraph    Alt-R
 Center Line           Alt-V
 Undo last operation   Ctrl-U
 Abort operation       Esc


pg 49
3. Entering ASCII codes

You can enter ASCII codes directly from the keyboard - hold down Alt key,
enter ASCII code from the numeric keypad and release Alt key.

You can enter characters in this way into an active edit window or into
Search/Replace dialog box.

Another method of entering ASCII codes into an active window is by using ASCII
Table.
