| ***************************************************************
| *                      ZapJRF extensions                      *
| ***************************************************************

| Commands

JRF_PATCHTAB
Insert spaces to columns 3, 11 or 41 whichever is next.
If a move occurs to column 41 then insert semi-colon and space (for use
in Assembler modes).

JRF_RUNFILE
Save the file to disc and execute Filer_Run on it.
This is obviously pointless for Text files !

JRF_NOTIFY <string>
Print the message in a minibuffer window.
The idea is that you can use this if you want BASEMAP cycling...

JRF_ALTERSEL
Similar to MJE_ALTERSEL, but may be used with the Auto-Clr selection flag
set.  If there is no selection the previously selected area is modified.

JRF_CLEARSEL
Clear the previously (or currently) selected area.
Similar to CLEARSEL, except that the cleared status is recorded so that
MJE_ALTERSEL may be used.

JRF_EACHLINE
At the start of the block do the first string, at the end, the last, and on
each line do the second string.
Parameters : <break><top com><break><line com><break><end com>

JRF_IF
Conditional execution on contents of cursor location.
Parameters : <break><compare><break><then clause>
        or : <break><compare><break><break><else clause>
        or : <break><compare><break><then clause><break><else clause>

JRF_DROPMARK
Drops a marker at the current location (as opposed to TOGGLEMARK)

RUNSCRIPT
Executes a script file. Special functions available in script files :
#IfText "<text>"
  Conditional execution on matching some text (case insensitive). Use |<char>
  to insert control characters, || for a literal | and |" for a literal ".
#IfMode <mode>[{,<mode>}]
  Conditional execution on being in a particular mode.
#IfModeN <mode>[{,<mode>}]
  Conditional execution on being in a particular mode, given the mode names.
#Else
  Invert current conditional execution (may be used multiple times in a
  structure, though why you'd do that I don't know)
#EndIf
  End contitional execution structure.
| <anything>
  Comment - ignored. (This is subject to change)
#ScriptEnd
  Marks the end of the script (only really needed for JRF_SCRIPTADDR)
#Stop
  Ends execution of the script.

JRF_SCRIPTADDR
Reads a script from memory. See RUNSCRIPT, substituting the word 'file' for
'memory'.

JRF_HELPWORD
Original proposed replacement for the MJE StrongHelp commands.

JRF_MENUFORMODE
Can be used to provide a specific menu for each mode at the bottom of the
main menu.

| End
