			C.KEY:
			------

Here is list of special keys added in the C.KEY keyboard file:



Alt-'	Quick C comment. If the cursor is at end of line, adds C comment
	characters /*  */ separated with two spaces and moves cursor in
	the middle. If the cursor is not at end of line, ands start of comment
	at cursor location and end of commend at end of line.
	(Note: on Finnish keyboard, ' is at the same key as *)

Alt-1	Converts current cursor line into a comment and moves to next line.
	You can quickly convert multiple lines by pressing Alt-1 repeatedly.
	If the line already contains a comment, the commend end characters
	are added before the old comment, thus avoiding nested comments.

Alt-2	Removes the comment marks from a line and moves to next line.
	You can quickly un-comment multiple lines by pressing Alt-2 repeatedly.


Alt-3	Select C block. First searches {, sets block begin at current line,
	then searches matching } and sets block end there, then moves back
	to the begin of the block.

Alt-4	Inserts #if 0 at the begin of the block and #endif at the end of
	the block. You must have a block marked before using this key.

Ctrl-(	Inserts pair of parenthesis ()

Alt-[	Inserts pair of square braces []

Alt-]	Inserts pair of curly braces {}

Alt-{	Inserts pair of curly braces {} on separate lines, and one black
	indented line between them.

Numpad +  If a block is selected, searches forward for the text in the block.
	  If block not selected, repeats previous search forward.

Numpad -  If a block is selected, searches backward for the text in the block.
	  If block not selected, repeats previous search backward.

Numpad Enter	Moves cursor to the end of line and then inserts newline.

F11		User Menu / Bookmarks.

F12		User Menu / C function select

Ctrl-F12	User Menu / Lookup in Ctags

Shift-F12	User Menu / Matching #if

Ctrl-F8		User Menu / Re-indent

Ctrl-Tab	User Menu / C function complete


------------------------------------------------------------------------------


			C-USER MENU:
			-----------


Bookmarks 
 - Calls the macro MARKERS.VDM (found from misc macros section of my site)
 - Select a bookmark from a list. 
 - Opens a window that contains list of the bookmarks, line number of each
   bookmark and some text at the bookmark location.
 - Use cursor up/down to select a bookmark. Then press Enter to go to that
   bookmark and exit macro. Or press left or right arrow to view the bookmark
   location but stay in the macro. Press Esc to cancel and return to original
   location.

 
Config 
 - Calls the macro CONFIG.VDM (found from misc macros section of my site).
 - Configure Vedit for different applications.
 - Opens a dialog box with 6 buttons:
   [ C ] [Basic] [Asm] [HTML] [Text] [Vedit]
 - Click one of the buttons to configure Vedit for that application.
   Loads syntax highlight, keyboard file, User menu etc. for the specified
   application, sets some settings and selects default directory.
   (You should edit the directory settings in the macro to suit your system.)
 
Cascade window
 - Calls the macro CASCADE.VDM(found from misc macros section of my site).
 - Cascades windows so that the height and horisontal position of each window
   fully uses the available screen space.
 - Current window will be the rightmost window.

 
Search all show/select
 - Calls macro SRCHSHOW.VDM
 - (This is standard Vedit function)
 
Wild search 
 - Calls macro WSEARCH.VDM (found from misc macros section of my site).
 - simplified Wildfile macro for searching. Just enter the file filters
   and search string. When the search is done, press any key to return
   to Vedit.
 
insert Date
 - (standard Vedit function)
 
matching #if 
 - Calls macro C_IFS.VDM
 - If the cursor is at line that contains #if, finds the matching #else
   or #endif. If at #else, finds #endif. If at #endif, finds matching #if.
 - Handles nested #if's.
 
Check parenthesis
 - Calls the macro C_PAREN.VDM
 - Finds matching parenthesis ()[]{}, and matching C comments /* */.
 - Ignores parenthesis inside comments or strings.
 - Beeps if no mathing parenthesis found.
 
re-indent 
 - Calls the macro C_INDENT.VDM
 - Smart indent for C programs.
 - If block is selected, indents block based on the first line of block.
 - If no block selected, indents current line based on previous line.
 - Each { increases and } decreases the indent level.
 - Amount of indend depends on the setting 
   Config -> Programming -> Indent increment.
 - Preprocessor directives are not indented.
 
C function complete
 - Calls the macro C_AUTOC.VDM.
 - Type begining of the name of a C function in your program and
   select this option. The function name is completed.
 - If there are more functions that match the begining, the first one is
   displayed and statusline tells the number of matching functions.
   Select this option again to change to the next matching function.
 - When the correct one is displayed, just continue typing.
 - Uses the TAGS database created with CTAGS.VDM.
 
C function select
 - Calls the function CFUNC1W.VDM, enhanced version of CFUNC.VDM
 - Displays list of functions in current file.
 - Use cursor up/down, PageUp/PageDown to select a function,
   then press Enter to go to that function location.
   Press Left or Right arrow to view the function without exitting the macro.
   Press Esc to exit and return to original location.
 
Create Ctags file 
 - Calls the function CTAGS.VDM
 - Creates TAGS database (standard Vedit function)
 
Lookup in Ctags
 - Calls the macro UTAGS.VDM
 - Put cursor to a function call and select this option.
   Finds the function even if it is in another source file.
 - (standard Vedit function)
 
RCS 
 - Calls the macro RCS_CMD.VDM (found from the RCS section of my site).
 - Opens dialog box for performing some RCS Revision Control System functions.

 
