home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
wp
/
m_edit.zip
/
ME.HLP
< prev
next >
Wrap
Text File
|
1988-03-31
|
47KB
|
1,021 lines
@ME.FORMAT R
*
^TABLE OF CONTENTS^
^A^ Quick Reference ^M^ Page Breaks
^B^ Using Menus ^N^ Printing
^C^ Windows ^O^ Search and Replace, and
^D^ Cursor Movement and Regular Expressions
Position Marking ^P^ Filename extensions
^E^ Block Operations ^Q^ Installation and Setup
^F^ Deleting Text ^R^ DOS Shell
^G^ Time and Date Stamping ^S^ Running DOS from Multi-Edit
^H^ Format Lines ^T^ Document mode features
^I^ Brace/Begin/End Matching ^U^ Print Formatter
^J^ Indenting styles. ^V^ Template editing.
^K^ Undo ^W^ Compile within editor.
^L^ Loading, Saving and ^X^ Keystroke Macros
Backing up Files ^Y^ Macros
^1^ Condensed display mode
^2^ Line drawing
^3^ Calculator
^4^ ASCII table
A
^QUICK REFERENCE - PAGE 1^
^<F1>^ Help ^<ShftF1>^ Next window
^<F2>^ Menu ^<ShftF2>^ Stamp date/time
^<F3>^ Save file ^<ShftF3>^ Load file
^<F4>^ Indent ^<ShftF4>^ Undent
^<F5>^ Mark position ^<ShftF5>^ Goto mark
^<F6>^ Search ^<ShftF6>^ Search/Replace
^<F7>^ Mark line block ^<ShftF7>^ Mark column block
^<F8>^ Run Macro ^<ShftF8>^ Delete line
^<F9>^ Copy Block ^<ShftF9>^ Inter-Window Copy Block
^<F10>^ Move Block ^<ShftF10>^ Inter-Window Move Block
^<CtrlF1>^ Last window ^<AltF1>^ Window list
^<CtrlF2>^ Find compil error ^<AltF2>^ Calculator
^<CtrlF3>^ Save block ^<AltF3>^ Run DOS
^<CtrlF4>^ DOS Directory Shell ^<AltF4>^ Condensed
^<CtrlF5>^ Zoom window ^<AltF5>^ ASCII Table
^<CtrlF6>^ Repeat search ^<AltF6>^ Match brace or statement
^<CtrlF7>^ UNDO ^<AltF7>^ Stream of text mark
^<CtrlF8>^ Compile ^<AltF8>^ Goto line
^<CtrlF9>^ Block off ^<AltF9>^ Expand template
^<CtrlF10>^ Delete block ^<AltF10>^ Record keystrokes
^QUICK REFERENCE - PAGE 2^
^<LEFT>^ Cursor Left ^<CtrlLEFT>^ Word Back
^<RIGHT>^ Cursor Right ^<CtrlRIGHT>^ Word Forward
^<UP>^ Cursor Up
^<DOWN>^ Cursor Down
^<PgUp>^ Screen Up ^<CtrlPgUp>^ Last Page Marker
^<PgDn>^ Screen Down ^<CtrlPgDn>^ Next Page Marker
^<HOME>^ To Left Margin ^<CtrlHOME>^ To Start of File
^<END>^ To End of Line ^<CtrlEND>^ To End of File
^<CtrlU>^ Scroll window up ^<CtrlT>^ Top of window
^<CtrlD>^ Scroll window down. ^<CtrlB>^ Bottom of window
^<DEL>^ Delete character under cursor
^<BS>^ Delete character before cursor
^<ShftDEL>^ Delete Word under cursor
^<CtrlBS>^ Delete Word before cursor
^<AltD>^ Delete from cursor to end of line
^<ShftF8>^ Delete line
^<AltI>^ Indent block
^<AltU>^ Undent block
^<CtrlENTER>^ Undo
^<AltR>^ Reformat Paragraph ^<AltK>^ Display keycode
B
^USING MENUS^
Most operations may be accessed via the menu system. The main menu is
assigned by default to the ^<F2>^ key.
Menu selections may be made as follows:
A. Use the ^LEFT and RIGHT or UP and DOWN Arrow^ keys, or the ^mouse^ to
move the selection bar to the desired menu item. Then hit ^ENTER^ or
the ^left mouse button^ to select that item.
B. Simply pressed the highlighted capital letter of the selection.
Use the ^<ESC>^ key or the ^right mouse button^ to exit a menu without
making a selection.
Hitting ^<F1>^ will bring up help on the highlighted item.
C WN
^WINDOWS^
Multiple Windows may be opened and used to edit different files or
linked together to edit different sections of the same file.
To create a new window select ^Window^ from the main menu (^<F2>^).
The ^Window^ menu then gives you the following options:
^Create^ Creates a new full screen window. The windows is single
letter name will always appear in its lower left corner.
^Switch^ Brings up a list of all windows.
^hIde^ Hides the current window.
^Delete^ Deletes the currently active window.
^Erase^ Erases the file contained in the current window from memory
(not disk).
^Modify^ Allows the cursor keys (or mouse) to be used to change the
size and position of the current window.
^Link^ Allows the current window to view and edit the same file
that is being viewed by another window. A menu of window
names will be displayed. Select the window that is editing
the file you wish to Link to and then press Return.
^Unlink^ If the current window is Linked to another window it will be
made independent again.
^V-Split^ Automatically splits the current window vertically into two
windows.
^H-Split^ Automatically splits the current window horizontally into
two windows.
^Zoom^ Toggles the window dimensions between taking up the entire
available screen area and its defined shape and size. Also
available with Ctrl F5.
D CU
^CURSOR MOVEMENT^
The cursor may be moved to any position within a window, regardless of
whether or not it is beyond the end of a line or the end of the file.
^<LEFT>^ Cursor Left ^<CtrlLEFT>^ Word Back
^<RIGHT>^ Cursor Right ^<CtrlRIGHT>^ Word Forward
^<UP>^ Cursor Up
^<DOWN>^ Cursor Down
^<PgUp>^ Screen Up ^<CtrlPgUp>^ Last Page Marker
^<PgDn>^ Screen Down ^<CtrlPgDn>^ Next Page Marker
^<HOME>^ To Left Margin ^<CtrlHOME>^ To Start of File
^<END>^ To End of Line ^<CtrlEND>^ To End of File
^POSITION MARKING^
^MARK POSITION <F5>^ or ^MENU, Edit, Cursor, Mark^
^RETURN TO MARK <ShftF5>^ or ^MENU, Edit, Cursor, Return^
Each time MARK POSITION is invoked the current cursor position is placed
onto the top of the Position Marker Stack. The Position Marker Stack
stores up to 10 positions. After 10 the oldest position (number 1) will
be lost. RETURN TO MARK will return the cursor to the most recently
marked position, removing that mark from the list.
E BL
^BLOCK OPERATIONS^
Blocks of text within a file may be marked by line, column or text stream.
To mark a block of lines:
Move the cursor to the first or last line of the desired block.
Select ^Edit^, ^Block^, ^Line-mark^ from the main menu, or simply
hit the ^<F7>^ key. This turns block marking on (notice that the
line you are on is now highlighted). Move your cursor to last line
of the block (or first, depending on where you started) and select
^End-block^ from the ^Block^ menu, or hit ^<F7>^ again (notice that the
highlighting followed your cursor). The block of lines is now marked
and you may perform Copy, Move, Deletion, etc. operations on it.
To mark a rectangular block of text starting and ending at any column:
Select ^columNar-mark^ from the ^Block^ menu, or hit ^<ShftF7>^.
You may now highlight a rectangular section of text. Select
^Block-end^, or hit ^<F7>^ or ^<ShftF7>^ to end the block.
The following operations may be performed on blocks from the ^Block^
menu or keys where specified.
^BLOCK OPERATIONS - PAGE 2^
^Line-mark <F7>^ Turns on block highlighting for lines.
^columNar-mark <ShftF7>^ Turns on block highlighting for columnar blocks.
^Stream-mark <AltF7>^ Turns on block highlight for stream of text blocks.
^Copy <F9>^ Copies the currently marked block to the current
cursor position. NOTE that columnar blocks
are Insert/Overwrite sensitive.
^Move <F10>^ Moves the currently marked block from it's
current position to the current cursor
position. NOTE that columnar blocks are
Insert/Overwrite sensitive.
^Delete <CtrlF10>^ Deletes the currently marked block.
^Off <CtrlF9>^ Turns the highlighted block off.
^Window^ Pops up the ^Inter-Window^ menu.
^Copy <ShftF9>^ Copies a block from another window into the
current window at the current cursor position.
^Move <ShftF10>^ Moves a block from another window into the
current window at the current cursor position.
^Indent <AltI>^ Indents the marked block one tab stop. (Line
blocks only)
^Undent <AltU>^ Undents the marked block one tab stop. (Line
blocks only)
F DL
^DELETING TEXT^
Delete character under cursor ^<DEL>^
Delete character before cursor ^<BS>^ (backspace)
Delete Word after cursor ^<ShftDEL>^
Delete Word before cursor ^<CtrlBS>^
Delete from cursor to end of line ^<AltD>^
Delete line ^<ShftF8>^
In addition, blocks may be deleted (see ^BLOCK OPERATIONS^);
G DT
^TIME AND DATE STAMPING^
^MENU, Edit, Time/date-stamp^ or ^<ShftF2>^
Inserts the Date and Time into the file at the current cursor position in
the format: mm/dd/yy hh:mmam (or pm)
H FR
^FORMAT LINES^
Selecting ^edit-Formatline^ from the ^Document^ menu will cause the
current file's format line to be displayed in the first line of the
current window. You may now edit the format line as follows:
^<TAB>^ inserts (or overwrites) a tab stop into the format line.
^<DEL>^ deletes the character under the cursor.
^<BS>^ deletes the character before the cursor.
^<END>^ moves the cursor to the end of the format line.
^<HOME>^ moves the cursor to the beginning of the format line.
^R^ or ^r^ sets the right margin.
^<ENTER>^ exits format-line-edit and saves the changes.
^<ESC>^ exits format-line-edit without saving your changes.
Any other text may be entered into the format line, for example, to
embed the format line in a comment (for source code).
NOTE that the cursor will not leave the format line.
A file's format line, if it is not the default format line (in other word
it has been modified), is saved with the file as the first line of the
file. The code ^@ME.FORMAT^ is imbedded in the line. Whenever Multi-Edit
loads a file it checks the first line for that code. If found then that
line is used as the format line. NOTE that this can be used in source
code by putting comment characters at the beginning and end of the format
line when you edit it.
Setting ^Save-formatline^ to ^Off^ from the ^Document^ menu will prevent
the format line from being saved with the file. Remember, however, that
each time the format line is edited the save condition is reset to ^ON^.
J ID
^INDENTING STYLES^
There are three type of indenting in Multi-Edit: Manual indenting,
auto-indenting, and smart auto-indenting. Manual indenting is always
available. Auto-indenting and smart auto-indenting are selected from the
^DOCUMENT^ menu. See also ^Filename extensions^.
^MANUAL INDENT^
^<F4>^ Tabs the cursor to the next tab marker set in the format line and
then set the left margin at that position. When carriage return is
pressed the cursor will return to the new left margin instead of column 1.
^MANUAL UNDENT^
^<ShftF4>^ Tabs the Cursor back to the previous tab marker set in the
format line and then sets the left margin at that position.
See ^BLOCK OPERATIONS^ for information on indenting and undenting blocks
of text.
^AUTO-INDENT^
When ^<ENTER>^ is pressed while editing a file, the cursor will be left at
the indent level of the previous line. Auto-indent may be selected or
turned via ^MENU, Document, Indent-style^.
^SMART AUTO-INDENT^
Smart auto-indenting is language specific. When ^<ENTER>^ is pressed
while editing a file, the first word of the current line is checked for
key words in the specified language and the new line is indented
appropriately. Smart auto-indent may be selected or turned via ^MENU,
Document, Indent-style^.
L FL
^EDIT NEW FILE^
^MENU, File, Edit-new-file^
Prompts for a file name, creates a fullscreen window, and then loads the
file into the new window. NOTE that when you are entering the file name
you may hit the ^<F2>^ key to bring up the ^DOS SHELL^ and select a file
to load from there (by highlighting a file and hitting ^<ENTER>^). DOS
wild card characters (* and ?) are allowed from the prompt.
^LOADING A FILE^
^<ShftF3>^ or ^MENU, File, Load^
Prompts for a file name and then loads that file into the current window.
You may also specify files to be loaded from the command line when
invoking Multi-Edit. For example: ^C>ME WHATZIT.C WOW.ASM WHEREIS.PAS^
If more than one file is specified, then windows will be created for each
additional file.
DOS wild card characters (* and ?) are allowed from the EDIT NEW FILE and
LOAD FILE prompts, and from the command line.
^SAVING A FILE^
^<F3>^ or ^MENU, File, Save^
Prompts for a file name, (uses current file name by default), and then
saves the file to disk. If BACKUPS (see Installation and Setup) are on
then a backup of the file (if it already exists) is made the first time
the file is saved. The backup file will have the extension ^.BAK^.
^SAVING A MARKED BLOCK OF TEXT^
^<CtrlF3>^ or ^MENU, File, Block-save^
Prompts for a file name, and then saves the currently marked block to
disk.
^CHANGING A FILE NAME^
^MENU, File, Name^
The name of the current file may be changed with this function. Note that
no file saving takes place, and the name of the file is not changed on
disk. This is essentially used to create a new file from an existing file.
^AUTOMATIC BACKUPS^
Multi-Edit normally creates a backup of a file (as it existed when it was
loaded) when the user first ^SAVE^'s an edited version of the file. This
backup is done ONLY on that first save, to maintain a copy of the original
file without any of the subsequent editing steps. The filename used for
the backup is the same as the original, but with a ".BAK" extension.
Automatic backups may be disabled (see ^Installation and Setup^).
M PG
^PAGE BREAKS^
Multi-Edit has a page break facility which allows any text file to be
broken up and easily paged through just as a full word processor allows
you to move between pages. NOTE that this facility is used by but NOT
dependent on the document mode feature of Multi-Edit.
A Page break is, by default, a form-feed character (ASCII 12), however it
may be changed to any string (up to 20 characters long) from the
^Installation and Setup^ menu. Please NOTE that Multi-Edit is sensitive
to the case of any alpha characters used in the page break string.
^INSERT PAGE BREAK^ ^MENU, Edit, Page-break^
Creates a new line above the current line, that contains the page
break string.
^NEXT PAGE BREAK^ ^<CtrlPGDN>^ or ^MENU, Edit, Cursor, Next-page^
Moves the cursor to the line after the next page break.
^LAST PAGE BREAK^ ^<CtrlPGUP>^ or ^MENU, Edit, Cursor, Last-page^
Moves the cursor to the line after the previous page break.
N PR
^PRINTING AND PRINTER CONTROL^
^MENU, Print^
The following operations may be performed from the ^Print^ menu:
(PLEASE NOTE that all printer output is sent to the PRN device.
The system default is LPT1.)
^print File^ prints the file in the current window.
^print Block^ prints the currently marked block.
^pItch^ sets 10, 12 or 17 (compressed) pitch for supported printers.
^Line spacing^ sets 6 or 8 lines per inch on supported printers.
^Quality^ sets Draft, Near Letter Quality for supported printers.
^Margin^ sets up a left margin.
^printer Type^ sets the printer type. Multi-Edit uses as many generic
codes as possible, so most printers from the listed
manufacturers (and compatibles) should be supported.
If your printer is not supported, or you wish to change
the codes outputed for a specific printer you may select
Create, Modify, or Delete.
^NOTE^ that you can also print a saved file in the background via the DOS
shell (see ^DOS SHELL^).
O SR
^SEARCH AND REPLACE^
^SEARCH^ ^<F6>^ or ^MENU, Edit, Search, Search^
^SEARCH AND REPLACE^ ^<ShftF6>^ or ^MENU, Edit, Search, search-and-Replace^
^REPEAT LAST SEARCH^ ^<CtrlF6>^ or ^MENU, Edit, Search, Next-search^
Searches file for the inputed string (or expression), from the current
cursor position unless Global search is specified. If ^SEARCH AND^
^REPLACE^ is invoked then the found string may be selectively replaced with
the second inputted string (or expression).
Multi-Edit has a complete regular expression implementation. See
following page for an explanation of regular expressions.
^SEARCH OPTIONS^
The following search options (or switches) are available:
^G^ Global search (search entire file).
^I^ Ignore case of alpha characters.
^N^ No replace prompts.
^P^ Use prompts on search.
^B^ Backwards search.
^X^ eXpressions OFF (turn regular expressions off).
^REGULAR EXPRESSIONS^
^*^ match 0..n occurances of the previous character or
expression.
^+^ match 1..n occurances of the previous character or
expression.
^?^ match any character.
^[]^ match class of characters. Example: ^[a-zA-Z0-9_]^
^[~]^ match any character except the enclosed class.
^%^ match beginning of line.
^$^ match end of line.
^@^ match (or replace) next character literally.
^{}^ encloses a group of 1 or more expressions. Max # of groups = 10
^|^ match previous OR next expression.
Example: ^{BEGIN}|{END}^ would match either "BEGIN" or "END";
NOTE that a character is counted as an expression, therefore
^BEGIN|END^ would match either "BEGINND" or "BEGIEND".
^REPLACE STRING EXPRESSIONS^
^$^ Inserts a carriage return.
^%^ Deletes a character. May be used to delete and end of line.
^&^ Insert the original found text.
^#n^ Insert text matched by group number 'n', n = 0 through 9.
Example: Search = ^{POS(}{?*,}{?*,}^ Replace = ^#0#2#1^
would swap the parameters for the function POS(str1,str2);
P FE
^FILENAME EXTENSIONS^
^MENU, Install, Filename extensions^
Upon loading a file, Multi-Edit checks a list of filename extensions for
the extension of the file being loaded. If found then Multi-Edit sets up
a format line and settings for indent style, document mode, wordwrap and
language and compiler types. You may add extensions to this list, delete
extensions from it, and modify the settings for each extension from the
^Filename extensions^ selection in the ^Install^ menu.
If the Large Compile option is specified then Multi-Edit must have been
invoked with the MEC batch file. See ^COMPILE WITHIN EDITOR^ for more
information on Large Compiles.
Q IN
^INSTALLATION AND SETUP^
^MENU, Install^
The ^Installation and Setup^ menu allows you to change many different
settings such as screen colors, backups, key mappings, etc.. You may
optionally save these settings, making them the startup defaults
^Edit Settings^
^Backups^ Toggles automatic backups on or off.
^Page Break^ Prompts for the page break string (see ^PAGE BREAKS^)
^Truncate Spaces^ Toggles 'extra spaces at the end of a line' truncating.
^Autosave^ Prompts for the number of seconds to remain idle
before saving files. Inputting 0 turns autosave off.
(see ^AUTOSAVE^).
^Format Line^ Brings up a window in which you may edit the default
format line (see ^FORMAT LINES^).
^Insert Mode^ Toggles the default Insert/Overwrite mode.
^tab Expansion^ Sets the number of spaces to expand tab characters
(ASCII 9) to upon loading of a file. Setting to zero
turns tab expansion off.
^Insert Cursor^ Programs the appearance of the cursor for the
insert mode. Choices are Underline, 1/3
block, 2/3 block, and full block.
^Overwrite Cursor^ Same as Insert Cursor (see above).
^Word Delimits^ The word delimiters that effect word left and
word right may be modified.
^Colors^ Allows you to change the screen colors.
^Key Mapping^ Brings up the ^KEY ASSIGNMENT^ menu. Allows you to
remap the keyboard.
^Video Mode^ Toggles the video mode from 80x25 to an alternate
mode, depending on the video adapter in use.
^CGA and IBM Monochrome^ 80x25
^EGA^ 80x25 and ^80x43^
^Sigma Color 400^ 80x25 and ^80x50^
^Mouse^ Enables or disables the mouse. It is sometimes
necessary to disable the mouse for programs like
MS Windows and DesqView.
^Logo screen^ Toggling this setting to ^OFF^ will prevent the
startup logo screen from coming up when you invoke
Multi-Edit.
^eXplosions^ If you are not particularly fond of Multi-Edits
"exploding" windows, you can turn them off.
^ctrl HELP box^ Toggles the ctrl-keypad help box on and off.
^Filename extensions^ Allows you to add, delete and modify the setups for
specific filename extensions. See ^Filename
extensions^ for more info.
^Printer type^ Sets the printer type you are using.
^Restore^ Toggles restore on and off. If restore is on, then
whenever the editor is exited the status of the
editor, including all files loaded and the window
sizes, etc., will be saved in a file called STATUS.ME.
This file is specific to the current directory. When
the editor is restarted, and no files are loaded from
the command line, then the previous status of the
editor is restored.
^lArge compile^
Turns the Large Compile option on globally. All
compilations will use the Large Compile method
regardless of the settings for the individual filenames.
See ^COMPILE WITHIN EDITOR^ and ^FILENAME EXTENSIONS^
for more info.
R DO
^DOS SHELL^
^MENU, File, Dos-shell^ or ^<AltF1>^
The DOS Shell is used to perform DOS file commands from within the editor
(such as file copying, renaming, directory listings, etc.). Please NOTE
that the ^DOS SHELL^ functions are invoked from the function keys, not a
menu. The following functions are included:
^Mark/Unmark file <SPACEBAR>^
Marks or Unmarks a file in the directory. The marked file will be
indicated by a '' character.
^Help <F1>^
Brings up this Help screen
^Change Directory <F2>^
Changes the working or default subdirectory
^Delete File <F3>^
Deletes the file highlighted in the directory display
^Copy File <F4>^
Copies the file highlighted in the directory display (or you may type in a
filename) to a destination that you will be prompted for.
^Rename File <F5>^
Renames the highlighted file; you will be prompted for the new filename.
^Get Directory <F6>^
Prompts for a path, then displays a directory listing. Works just like
DOS's DIR command.
^Run DOS Command <F7>^
You can execute any DOS command or program (including internal commands)
with this function. It uses the standard DOS "COMMAND.COM" command
interpreter, so the command syntax is exactly as specified in your DOS
User's Guide.
^Print a file <F8>^
This function will allow you to print a file using the DOS background
print spooler, PRINT.COM. After specifying the file to be printed, you
may immediately continue other work within Multi-Edit, or actually exit
the editor without disturbing the PRINT operation.
PLEASE NOTE THE FOLLOWING:
A. PRINT.COM program must either be in the current subdirectory or
there must be a path to where the program resides.
B. PRINT.COM will NOT accept a path as part of the filename to print
for DOS versions prior to DOS 3.0.
C. PRINT.COM should already be resident for optimal use of memory.
^Load a file <F9>^
Loads the selected file into the editor. If the DOS shell is being used
from a prompt (see ^Loading and Saving files^) this key selects the file.
^Delete marked Files <ShftF3>^
Deletes all files currently marked. Prompts for verification first.
^Copy marked Files <ShftF4>^
Copies all files currently marked to the prompted destination.
S RD
^RUNNING DOS FROM MULTI-EDIT^
^MENU, Support, Dos^ or ^AltF3^
Allocates all available memory, and runs a copy of COMMAND.COM.
K UN
^UNDO^
^MENU, Undo^ or ^<CtrlF7>^
Undo can, quite simply, undo what you've done. Any editing operation,
excluding file saving and loading, can be undone. This includes block
operations, text insertions and deletions, major cursor movements, search
and replaces, etc..
Y MA
^MACROS^
^MENU, Macro, Run-a-macro^ or ^<F8>^
Executes a macro. Multi-Edit first checks to see if the macro has been
loaded. If it hasn't then it checks the current directory for a .MAC file
with the inputted name. If not found then it checks the Multi-Edit
directory.
^MENU, Macro, Load-a-macro-file^
Loads a macro file from disk. If no path name is specified then
Multi-Edit first checks the current directory, then the Multi-Edit
directory.
^MENU, Macro, Unload-a-macro^
Erases a macro from memory.
^MENU, Macro, Save-keystrokes^
Allows you to build macro source from a recorded keystroke macro.
See ^KEYSTROKE MACROS^ and the Multi-Edit User's Guide for more
information.
X KM
^KEYSTROKE MACROS^
^RECORD KEYSTROKES <AltF10>^
Sequences of keystrokes may be recorded and played back from both ^Text^
^Edit^ mode and the ^DOS SHELL^. To start recording keystroke simply hit
the ^<AltF10>^ key, and go on editing (or working in the ^DOS SHELL^). When
you have type in the desired keystroke sequence, hit ^<AltF10>^ again. You
will then be asked to type the key that you wish to assign the keystroke
macro to (or hit ^<ESC>^ to discard the new macro).
NOTE that you cannot start or stop the recording of keystrokes from a menu
or prompt.
To save your keystroke macros you must build a macro source file with the
^MENU, Macro, Save-keystrokes^ menus. See the Mult-Edit User's Guide for
more information.
1 CN
^CONDENSED DISPLAY^
^MENU, Support, coNdense^ or ^<AltF4>^
Condenses the current file by displaying only the lines that start at or
before the cutoff column (defaults to column 1, but is user definable).
Use the ^<UP>, <DOWN>, <PgUp> and <PgDn>^ keys to move quickly through a
file. Hit ^<ENTER>^ to exit condensed mode and move the cursor to the
selected line, or ^<ESC>^ to exit and return the cursor to it's original
location.
Condensed display is very useful for editing large source code files
(particularly for a structured language), as it allows you to easily
locate and move to different functions, procedures, etc..
4 AS
^ASCII TABLE^
^MENU, Support, Ascii-table^ or ^<AltA>^
Displays a three page ASCII table, which includes character, decimal and
hex columns. The ASCII table displays the entire IBM extended character
set. Use the ^<UP> and <DOWN>^ keys to move between the pages.
Hit ^<ESC>^ to exit.
SU
^SUPPORT MENU^
The support menu accesses the following:
^Calculator^ The programmers calculator (see ^Calculator^).
^ASCII Table^ The extended ASCII Table (see ^ASCII Table^).
^coNdense^ Condensed display (see ^CONDENSED DISPLAY^).
^run-Dos^ Runs DOS from editor (see ^RUNNING DOS FROM MULTI-EDIT^).
^Line-draw^ Line drawing mode (see ^LINE DRAWING^).
^comPile^ Compiles a program (see ^COMPILE WITHIN EDITOR^)
^Match^ Brace/BEGIN/END matching (see ^BRACE/BEGIN/END MATCHING^).
ED
^EDIT MENU^
The edit menu is used to access most functions that directly affect text,
or the cursor (with the exception of Documentation features and Undo).
The following is available:
^Block^ Brings up the ^BLOCK MENU^ (see ^BLOCK OPERATIONS^).
^Search^ Brings up the ^SEARCH MENU^ (see ^SEARCH AND REPLACE^).
^Format-line^ Brings up the ^FORMAT LINE MENU^ (see ^FORMAT LINES^).
^Cursor^ Brings up the ^CURSOR MENU^ (see ^CURSOR MOVEMENT AND^
^POSITION MARKING^).
^Delete^ Brings up the ^DELETE MENU^ (see ^DELETING TEXT^).
^Time/Date-Stamp^ see ^TIME AND DATE STAMPING^.
^Page-break^ see ^PAGE BREAKS^.
T WP
^DOCUMENT MODE FEATURES^
^<MENU>, Document^
Multi-Edit supports both a normal text editing mode and a document editing
mode. In document mode Multi-Edit keeps track of and displays the current
page number. The line number displayed in the upper left corner of the
window counts the number of lines from the top of the page instead of the
top of the file. Multi-Edits wordwrap and formatting features are
available in both modes.
^Wordwrap^
When wordwrap is on a line will be wrapped when the inserting of text
causes the line to exceed the current right margin. NOTE that wordwrap
assumes one simple rule: ^A paragraph must end with a blank line or a
page break line.^
^Indent-style^
Selects the current indenting mode. See ^INDENTING STYLES^.
^right Margin^
Sets the current right margin for wordwrap.
^Reformat^
Reformats from the line the cursor is at to the end of the paragraph.
^Justify^
Right justifies from the current line to the end of the paragraph.
^Unjustify^
Removes extra spacing (inserted for justification) from the current
line to the end of the paragraph.
^edit-Formatline^
Enters formatline edit mode. See ^FORMAT LINES^.
^Save-formatline^
If ^ON^ then the current formatline will be saved with the file.
See ^FORMAT LINES^.
^format-Codes^
Brings up a menu for insertion of codes used by the Print Formatter.
^Print-formatter^
Invokes the Print Format macro. See ^PRINT FORMATTER^.
^Auto-setup^
Sets up the current file based on it's filename extension. See
^Filename Extensions^ for more information.
U PF
^PRINT FORMATTER^
^<MENU>, Document, Print-formatter^
The print formatter is a macro which formats text files for output to the
printer via special character code sequences (see the following pages for a
complete list of these codes). Although these codes may be easily entered
manually, we have provided a method of automating this process via
^<MENU>, Document, format-Codes^.
The print formatter does not actually output to the printer, but instead
creates a ^.PRT^ file in another window, which may be saved and printed in
the background via the DOS print spooler (see ^DOS SHELL^).
Some formatting codes generate printer specific output. The printer type
is selected from either the ^PRINT^ menu or the ^INSTALLATION AND SETUP^
menu.
The following pages list the format codes and information on headers and
footers, table of contents generator, etc..
^FORMATTING CODES^
^PAGINATION, HEADERS AND FOOTERS^
^Code Default Action^
^.pb^ n n=+1 Page break (start page number n)
^.df^ str Empty Define footer
^.dh^ str Empty Define header
^.sf^ Supress footer this page
^.sh^ Supress header this page
^.hm^ n n=2 Set header margin to n
^.fm^ n n=64 Set footer margin to n
^LINE SPACING, MARGINS, AND CENTERING^
^Code Default Action^
^.ls^ n n=1 Line spacing is n
^.pl^ n n=66 Set page length to n
^.rm^ n n=80 Set right margin to n
^.lm^ n n=1 Set left margin to n
^.tm^ n n=5 Set top margin to n
^.bm^ n n=60 Set bottom margin to n
^.ce^ Center this line
^PRINT ATTRIBUTES^
^Code Default Action^
^.ul^ n n=1 1=Underline On, 0=Off (Printer specific)
^.em^ n n=1 1=Emphasized On, 0=Off (Printer specific)
^.it^ n n=1 1=Italic On, 0=Off (Printer specific)
^.dw^ n n=1 1=Double Width On, 0=Off (Printer specific)
^MISCELLANEOUS^
^Code Default Action^
^.np^ Comment, line will not be printed
^.ig^ Ignore, line will not be decoded
^.fn^ Inserts the current File name
^.ti^ Inserts the current Time
^.da^ Inserts the current Date
^.pa^ Inserts the current Page number
^Notes on Headers and Footers^
All characters to the right of a .dh or .df are considered to be part
of the header or footer. The following commands and variables can be
used within header or footer definitions: .ce, .in, .ul, .fn, .ti,
.da, .pa.
^Comment and Ignored lines^
A comment line (denoted by ^.np^) is not outputed to the .PRT file.
Comment lines are useful for defining header and footers, setting
margins, etc., without having the line printed as normal text.
An Ignored line is outputed to the .PRT file, but it is not processed
for formatting codes. This is particularly useful if you need to print
a formatting code literally.
^Form Feed Characters^
Form feed characters (ASCII 12) will be interpreted the same as the .pb
command, except there is no parameter expected.
^USER DEFINABLE FORMATTING COMMANDS^
These are "macro" type formatting commands which the user can define.
Since they are processed in a "search and replace" type manner, they can
be very versatile. In defining, everything to the right of the command to
the end-of-line is considered to be part of the definition. Whenever a
matching execute command is encountered, the command is replaced by the
definition string. Anything (normal text, other commands, etc.) will be
processed as though it were imbedded at the point of the execution
command. Legal values for the parameter is 1-10.
.du n n=1 Define user formatting command n
.ud n n=1 Execute user formatting command n
EXAMPLE: .du1 .em1This string is too long to type!.em0
.du1 .ud1INSERTING TEXT.em0.dw0.it0
Caution: If the insertion of the definition string results in a string
length which exceeds 255, the definition string will be truncated until it
fits, yielding unpredictable results.
^TABLE OF CONTENTS GENERATOR^
A table of contents generator is an integral part of the print formatter.
It has the ability to generate a table of contents with up to 5 levels,
and four different styles or formats. It uses codes similar to the print
formatter.
^.tc^ Define table of contents. At least 2 parameters are expected, up
to 12 will be recognized.
^Parameter 1:^ the margin to which the page numbers will be right
justified.
^Parameter 2:^ 0 = precede page number with spaces, 1 = use periods.
periods.
The second and third will determine the amount of indenting for the
first level, and the format or style of the first level respectively.
Each subsequent pair of parameters will determine the indent and style
of subsequent table levels (up to 5 levels). Any missing parameters
will default as follows:
Right margin = 75
Spaces will be used
Style(for all levels) = 0
Level 1 indent = 5
Level 2 indent = 7
Level 3 indent = 9
Level 4 indent = 11
Level 5 indent = 13
The style parameter can be any integer from 0 to 3 and defines the
following possible formats:
0 = plain Eg: COMPILING A MACRO
1 = numeric Eg: 1. COMPILING A MACRO
2 = alpha Eg: A. COMPILING A MACRO
3 = roman numeral Eg: I. COMPILING A MACRO
^.te^ Designate a table entry. One parameter is expected, which is the
table level this entry. Everything on this line beginning with the
first word after the parameter will be considered part of the table
entry.
As an example, if the table definition looked line this:
^.ig.tc 65 1 15 0 20 1 23 2^
and there were 3 table entries like this:
.te 1 CARING FOR YOUR DOG
.te 2 FEEDING
.te 3 DRY FOOD
the resulting table of contents would look something like
this:
CARING FOR YOUR DOG..............................1
1. FEEDING.................................2
A. DRY FOOD.............................3
3 CA
^CALCULATOR^
^MENU, Support, Calculator^ or ^<AltF2>^
The calculator is standard notation and supports Floating point decimal,
HEX and BINARY formats. The following operators and functions are
supported:
^+^ Addition
^-^ Subtraction
^*^ Multiplication
^/^ Division.
^<F2>^ Full clear.
^<F3>^ Clear current entry only.
^<F4>^ Binary AND
^<F5>^ Binary OR
^<F6>^ Binary XOR
^<F7>^ Change BASE. Switches between Decimal, Hex and Binary formats.
^<F8>^ Change Sign
^<F9>^ Memory functions.
^<ENTER>^ Load memory with current value.
^+^ Add current value to memory.
^R^ Recall memory value.
In addition the cursor keys (when NUMLOCK is off) may be used to move the
calculator window around the screen.
2 LD
^LINE DRAWING^
^MENU, Support, Line-draw^
Allows you to 'draw' with the extended graphic characters. To draw in
^Line-draw^:
^Arrow Keys^ move the cursor around the screen.
^Shifted Arrow Keys^ draw lines.
^<F2>^ toggles between single, double and erase line mode.
^<ESC>^ exits ^Line-draw^.
^<PgUp>^ move one window up.
^<PgDn>^ move one window down.
^<END>^ move end of line
^<HOME>^ move to start of line
W CP
^COMPILE WITHIN EDITOR^
^MENU, Support, coMpile^ or ^<CtrlF8>^
To compile within the editor you must have setup a compiler type and a
compiler command for the extension of the file you wish to compile. It is
suggested that batch file or Make commands be used, and that you use
a standardized naming scheme for your batch or make files.
See ^Filename extensions^ for more information.
^LARGE COMPILE^
Sometimes a compiler will require more memory than Multi-Edit can free up
in order to run (particularly C compilers). The Large Compile option
(which is specified for each filename extension, or globally from the
Install menu) is used for such situations. The Large Compile option
requires that Multi-Edit have been invoked with MEC batch file supplied
on the program disk.
When you perform a compile, and lArge-compile is ON, the following will
happen:
1. The current status of the editor will be saved
2. Multi-Edit will be exited.
3. The compiler will be envoked with error redirection.
4. Multi-Edit will be restarted (with the old state restored).
5. The error file will be brought up and parsed.
NOTE: To use Large Compile with some compilers (notable Turbo-C) you may
have to increase the number of files openable on your system to 2 or 3
above the default. This is done via the ^FILES=^ command in your
^CONFIG.SYS^ file. We recomend a setting of ^FILES=20^.
V TE
^TEMPLATE EDITING^
^MENU, Support, Template^ or ^<AltT>^ or ^<AltF9>^
With template editing, you can type a single character, hit ^Template^ and
an entire construct will be create (for the language you are programming
in), based on that character.
^TEMPLATE EDITING IN C^
^i^ Builds an 'if () {' construct.
^w^ Builds a 'while () {' construct.
^f^ Builds a 'for () {' construct.
^{^ Builds matching braces.
^s^ Builds a 'switch () {' construct.
^d^ Builds a 'do { } while ();' construct.
^TEMPLATE EDITING IN PASCAL^
Since pascal keywords are not case sensitive, the case of the templates
will be determined by the case of the character you type. NOTE that
since 'FOR' and 'FUNCTION' both start with 'F' you will be prompted for
the one to use, unless you type in the second character.
^B^ Builds a matching 'BEGIN/END' construct.
^I^ Builds an 'IF () THEN' construct.
^W^ Builds a 'WHILE () DO' construct.
^F^ Prompts for 'FOR-NEXT' or 'FUNCTION'.
^FU^ Builds a 'FUNCTION () : ;' construct with matching 'BEGIN/END'.
^FO^ Builds a 'FOR := TO DO' construct.
^P^ Builds a 'PROCEDURE ();' construct with matching 'BEGIN/END'.
^C^ Builds a 'CASE OF' construct with matching 'END'.
^R^ Builds a 'REPEAT UNTIL ();' construct.
^TEMPLATE EDITING IN THE MULTI-EDIT MACRO LANGUAGE^
^$M^ Builds a '$MACRO ; END_MACRO;' construct.
^I^ Builds an 'IF () THEN' construct with matching 'END;'.
^W^ Builds a 'WHILE () DO' construct with matching 'END;'.
^TEMPLATE EDITING IN BASIC^
To be as compatable as possible with interpreted and compiled basic, the
following convention is followed: If the line the cursor is sitting on
is numbered, then the construct created will include line numbers.
Otherwise, the construct will have no line numbers.
^I^ Builds a 'IF THEN^ construct.
^F^ Builds a 'FOR NEXT^ construct.
^W^ Builds a 'WHILE WEND^ construct.
I MT
^BRACE/BEGIN/END MATCHING^
^MENU, Support, Match^ or ^<AltF6>^
Currently supports Pascal and C.
^For Pascal:^
Matches BEGIN/END, CASE/END and parenthesis.
^For C:^
Matches {} and parenthesis.
Place cursor on item to match. Hit ^MATCH^ and the cursor will be taken to
the matching brace or statement.