[ Home ] [ Features ] [ Products ] [ FAQ's ] [ Screens ] [ Support ] [ Downloads ] [ About ] [ Discussion ]


the software that grows with you

 

Vouch Program Editor

It is a interactive and useful extension of Vouch Development environment.  Though it is not an alternative to a full-fledged text editor but offers extra capabilities synonymous to Vouch environment which can be summarized as follows:
  1. Capability of syntax highlighting in different colors ( user definable ).
  2. Features cut, copy and paste capabilities.
  3. Can import from and export to a disk file.
  4. Capable to paste command prototype at the current cursor position.
  5. Allows to  build expressions through Vouch Expression Builder and inserts the resulting expression at cursor position.
  6. Find and replace capabilities.
  7. Comments and much more...

How to invoke program editor? 

When invoked It will look something like this depending upon what lines of code you have written:

Bottom line of the window displays the line and column number of current cursor along with the hot keys available to accomplish specific tasks. 

F1 Help presents the following screen which displays all the available options.

 

F2 Calc popes up the calculator.

F3 Ulty  displays adjoining popup to select from a host of utilities. These utilities help writing a program easy. The return values are inserted in the program line where cursor resides.

A user can never remembers what he has configured for different browsers. Browse Window Names option is handy to view all the browser views of a selected module. This browser window name is used in certain functions. 

Like wise Index Order of an Alias presents a list of index orders to choose from and returns a string of its ordinal position. This code will illustrate this:
V_OPEN                  'vouchdtl'
V_SETORDER TO 2                             // date
Here order #2 may or may not be known to the developer. '2' will be inserted when this option is invoked and 'Date' is selected.

F4 Expo opens a dialog to furnish complete file name with complete path to export to the program being edited. You must furnish the extension also. No assumptions are made.

F5 Impo opens a dialog wherein you furnish the complete file name to import. The imported text will be inserted at the current cursor position. All lines from current cursor position will be appended after imported text.

F6 Cmnd inserts a command prototype at the current cursor position after selection from a popup window and then after confirming whether it should post the selected prototype. The user can replace the variable prototype with actual variables.

F8 Save exits from the program editing mode and returns the control to Program Repository database from where onwards common data entry contols become active.

F10 Expr lets you select a module alias and then activates the Vouch Expression Builder to design an expression based on alias selected. The returned expression is then inserted at the current cursor position.

F7 Comment insert s //-------- at a new line or at the end of existing line. The portion of the line after // will be ignored. * can also be used at the begining of a comment line. 

Selection of a part or whole of a line or several lines as once.  

Several lines selection:
Place cursor at the beginig of the line and then press Alt+DnArrow. The color of the line will change to white over red.
While Keeping Alt key pressed, press DnArrow key till the last line desired to be selected reaches. 
Single line selection:
Place cursor at the beginig of the line and then press RightArrow.
While Keeping Alt key pressed, press RightArrow repeatedly till desired character reaches or press End key if whole line need be selected.
Copy, cut and paste:
Alt+C will copy the block and highlight will be removed.
Alt+X will copy the will cut the block.
Del will delete the block without coppying. 
Place the cursor where you want to paste the selected block and press Alt+V.
Cursor will remain at this position even after insertion. 

Find & Replace

Alt_F opens a dialog wherein you can enter the search string and replace with string, if any. Cursor will be placed at the begining of the search result, if found. If replace with string is defined, it will nor replace it at this stage. You will have to press Alr_R to replace. All next occurrences of search string can be accessed either bt Alt_G Search Next  or by Alt_R Replace Next. There is a slight difference in Alt_G and Alt_R. Alt_R will replace the searched string currently displayed in different color and highlight the next occurance whereas Alt_G will only search the next occurance Search is case insensitive. Replace will occur as entered, uppers lowers taken care of.

Alt_T will toggle between colored syntax highlighting and normal mode. Suggested use is normal mode. Syntax highlighting should be used occasionally to find errors. 

Alt_L will allow you to define highlighting colors for various components of syntax., i.e., strings, operators, loops, assignment operator, functions, brackets,etc.

NAVIGATION

Left Arrow One character left Right Arrow One character right
Del Deletes character at cursor position BS Deletes character at the left of cursor position
Home At the begining if line End At the 
Ctrl_Home Begining of Program Ctrl_End End of the Program
PageUp Begining of Window PageDn End of Window
Ctrl_PgUp Begining of Program Ctrl_PgDn End of the Program
Ins Toggles Strike Mode Ctrl_W End Editing Mode

 

[ Home ][ Features ] [ Products ][ About Us ][ FAQ's ][ Screen Shots ][ Downloads ][ Support ][ Discussion ]
.

Vouch is a Trademark of Pritpal Bedi
All other Trade Marks are the property of their respective owners.
Copyright 1993-2011 Pritpal Bedi. All rights reserved.
Hit Counter  
You are Visitor # since 14 May 2002