| Modes

mode_c
Martin Ebourne's colour C mode.
Colours can be configured from the display menu.
Press scC to compile.
See Martin's help text for more details.

mode_c++
Martin Ebourne's colour C++ mode.
Colours can be configured from the display menu.
Press scC to compile.
See Martin's help text for more details.

mode_java
Martin Ebourne's colour Java mode.
Colours can be configured from the display menu.
Press scC to compile.
See Martin's help text for more details.

mode_assembler
Martin Ebourne's colour Assembler mode.
Designed for Acorn's ObjAsm assembler files.
Press scC to compile.
See Martin's help text for more details.

mode_pascal
Martin Ebourne's Pascal mode.
Press scC to compile.
See Martin's help text for more details.

| Commands

MJE_ALTERSEL
Move the closest end of the selection to the current cursor position (like
Adjust). If there is no selection then select the next character.

MJE_CLOSECOMMENT
Insert close comment string.
(ZapMJE modes only)

MJE_COMMENT
Insert open and close comment strings leaving the cursor in the middle.
(ZapMJE modes only)

MJE_COMMENTLINE
Comment out the entire line and move onto next.
(ZapMJE modes only)

MJE_ENDIF
Insert end pre-processor 'comment'; ie. use conditional compilation to
disable a code section.
(ZapMJE modes only)

MJE_GENERATEHEADER
Automatically append function declarations onto the end of the corresponding
header file.
(C mode only)

MJE_HELPCONTEXT
Find help for the word at the cursor, using Guttorm Vik's StrongHelp.
Note that StrongHelp is not supplied with Zap.
This command is deprecated - using HELPCONTEXT instead is recommended.

MJE_HELPTOPIC <string>
Find help for the supplied string, using Guttorm Vik's StrongHelp.
If there is no supplied string then find help for the selected word, else
prompt for the word in the minibuffer.
Note that StrongHelp is not supplied with Zap.
This command is deprecated - using HELPTOPIC instead is recommended.

MJE_FINDHEADER <string>
Places the cursor in the header file with the same name as <string>.
If the string is "@" then the cursor is put into the header file referred
to in the file on the same line as the cursor.
The header files are loaded if necessary.
Library header files in the current project are searched first, followed by
those in the library (which is presumed to be on the "C:" path).
Text of the form 'h.foo' and 'foo.h' are both acceptable references.
There is not yet any support for paths of the form 'Hdr.foo' or 'foo/h'.

MJE_REINDENT <string>
Reindents the line the cursor is on according to it's context, and move onto
the next line.  The context is taken from any preceeding lines.
This command is still in an experimental stage.  It may not currently be
used in learned sequences.
(C, C++ and Java modes only)

MJE_IF
Insert start pre-processor 'comment'; ie. use conditional compilation to
disable a code section.
(ZapMJE modes only)

MJE_IFMODE <string>
Execute given command string only if the current mode is in the supplied
list. See Martin Ebourne's help text for further details.

MJE_LASTFUNC
Jump to the start of the previous function definition.
(ZapMJE modes only)

MJE_NEXTFUNC
Jump to the start of the next function definition.
(ZapMJE modes only)

MJE_OPENCOMMENT
Insert open comment string.
(ZapMJE modes only)

MJE_SWAPTOHEADER
Move cursor into corresponding header or source file, possibly loading it.
(ZapMJE modes only)

MJE_UNCOMMENTLINE
Uncomment line and move onto next.
(ZapMJE modes only)

