[Full text dump of mep.hlp file.  That file is in quickhelp not WinHelp
format, and some customers have complained that it is hard to use.
This file provided by Microsoft Developer Support.  -Steve Firebaugh]


.context h.title
.context List categories
.context @L8000
:i
Microsoft Editor Help
.context h.pg1
.context h.default
.context h.notfound
.context Microsoft Editor Help
.context Microsoft Editor
.context contents
.context @L8001
:z3
:nMicrosoft Editor Contents
:l30
                                                             Index Back
Microsoft Editor Contents
 
  Using Help
 
  Editor Command-Line Syntax       Quick Summary of Commands
  Alphabetical List of Functions   Alphabetical List of Switches
 
  Commands
 
  Command Manipulation             Insert and Delete Functions
  Cursor Movement                  Programming and Compiling Functions
  File Operations                  Special Insert Functions
  Find and Replace                 Window Functions
  Goto and Mark Functions
 
  Configuring and Enhancing the Editor
 
  The TOOLS.INI FIle               The <assign> File
  Writing Macros
 
  TOOLS.INI
 
  Configuring the Editor With TOOLS.INI
  File-Extension Tags in TOOLS.INI
  Tagged Sections in TOOLS.INI
  Named Sections in TOOLS.INI
  Semicolon: TOOLS.INI Comment
  Backslash: TOOLS.INI Line Continuation
                                    --
.context moptions
.context MEP
.context mep.cl
.context @L8002
:z3
:nMEP Command-Line Syntax
:l29
                                             Up Contents Index Back
MEP Command-Line Syntax
 
  Use the following case-sensitive command line to run the editor:
 
  MEP [-?] [-D] [-e commands] [-r] [-m mark] [[-t] file]...
 
  Option        Description
 
  -D            The editor does not read TOOLS.INI or the status file.
 
  -e commands   The editor executes the specified commands on start-up.
                The argument is the name of a function or macro, or a
                quoted string that follows the syntax rules for a macro
                definition.
                See: Macros
 
  -t file       The file is temporary and is not retained in the status
                file. You must precede each temporary file name with -t.
 
  -r            The editor starts in no-edit mode. You cannot make changes
                to files.
                See: Editreadonly Noedit Readonly Viewonly
 
  -m markline  The editor starts at the specified mark or line number.
                See: Mark
 
  -?            The editor lists the command-line options for the editor.
                                    --
.context Mhelp
.context Mhcontext
.context Mhback
.context Mhelpnext
.context @L8003
:z3
:nHelp Overview
:l33
                                             Up Contents Index Back
The Microsoft Editor Help System
 
  To exit split-window Help, press ESC. To exit non-split-window Help,
  execute Setfile (setfile).
 
  To move to a topic, press TAB or SHIFT+TAB. To see Help on a highlighted
  topic, press ENTER.
 
  Help Command                              Function    Key
 
  See this topic                            Mhelp       Mhelp
  See Help for the word at the cursor       Mhcontext   Mhcontext
  See previously viewed Help                Mhback      Mhback
  See the next topic in the Help database   Mhelpnext   Mhelpnext
 
  You can use context-sensitive Help (Mhcontext) several ways:
 
  For Help on:                              Command:
 
  Word at the cursor                        Mhcontext
  Text from the cursor to the first         Arg Mhcontext
    white-space character
  A specific topic                          Arg <topic> Mhcontext
 
  Help searches for each topic in the Help files that are listed in the
  Helpfiles switch. If the Help topic is not found, Help displays the
  topic you are currently viewing.
 
  See
 
  Help Colors Helpfiles Helpwindow
                                    --
.context Autostart
.context @L8004
:z3
:nAutostart Macro
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Autostart
 
  The special macro Autostart is run after all other initialization when
  the editor starts.
 
  Definition
 
  By default, the Autostart macro is undefined.
 
  See
 
  Loading Sequence
                                    --
.context Mgreplist
.context @L8005
:z3
:nMgreplist Macro
:l49
                                             Up Contents Index Back
Microsoft Editor
 
  Mgreplist
 
  The special macro Mgreplist is a string that specifies the list of files
  to be searched by the Mgrep and Mreplace functions.
 
  Syntax
 
  Mgreplist:= "<list>"
 
  <list>    Space-separated list of filenames.
 
  The filenames can contain wildcards '*' and '?' and environment-variable
  specifiers. Note that each backslash (\) must be doubled in the macro
  string.
 
  You can insert the definition of the Mgreplist macro into the current
  file by using the phrase:
 
      Arg Meta "Mgreplist" Tell
      (arg meta Mgreplist tell)
 
  You can edit the macro definition, then redefine the macro by using the
  Assign function (assign).
 
  Example
 
  The Mgreplist definition
 
      Mgreplist:="$INCLUDE:*.h \\std\\*.c *.cpp *.c"
 
  specifies the following files:
 
     All .H files in the directories specified by the INCLUDE environment
      variable.
 
     All .C files in the STD directory in the root of the current drive.
 
      Note how the backslashes in the path are doubled.
 
     All .CPP and .C files in the current directory.
 
  See
 
  Assign Tell Mgrep Mreplace
  Environment-Variable Specifiers
                                    --
.context curfile
.context @L8006
:z3
:nCurfile Macro
:l23
                                             Up Contents Index Back
Microsoft Editor
 
  Curfile (curfile)
 
  The Curfile macro types the full path of the current file.
 
  Definition
 
  curfile := "<pathname>"
 
  Example
 
  The following macro copies the full path of the current file to the
  clipboard:
 
      Path2clip := arg curfile copy
 
  See
 
  Arg Copy Curdate Curday Curfile Curfilenam Curfileext
  Curtime
                                    --
.context curfilenam
.context @L8007
:z3
:nCurfilenam Macro
:l23
                                             Up Contents Index Back
Microsoft Editor
 
  Curfilenam (curfilenam)
 
  The Curfilenam macro types the base name of the current file.
 
  Definition
 
  curfilenam := "<basename>"
 
  Example
 
  The following macro copies the base name of the current file to the
  clipboard:
 
      Name2clip := arg curfilenam copy
 
  See
 
  Arg Copy Curdate Curday Curfile Curfilenam Curfileext
  Curtime
                                    --
.context curfileext
.context @L8008
:z3
:nCurfileext Macro
:l23
                                             Up Contents Index Back
Microsoft Editor
 
  Curfileext (curfileext)
 
  The Curfileext macro types the file extension of the current file.
 
  Definition
 
  curfileext := "<extension>"
 
  Example
 
  The following macro copies the base name plus the extension of the
  current file to the clipboard:
 
      Filename2clip := arg curfilenam curfileext copy
 
  See
 
  Arg Copy Curdate Curday Curfile Curfilenam Curfileext
  Curtime
                                    --
.context pseudofile
.context pseudo
.context @L8009
:z3
:nPseudofile
:l35
                                             Up Contents Index Back
Microsoft Editor
 
  Pseudofile
 
  An editor file that exists only in editor memory; it does not correspond
  to any file pon disk. When the active window contains a pseudofile,
  'pseudo' appears on the status line. The filename for a pseudofile has a
  special form. For example, the <clipboard> pseudofile.
  See: Pseudofile Naming Convention
 
  You must always save a pseudofile explicitly. It is never saved during
  Autosave or Saveall operations.
  See: Autosave Saveall
 
  When you save a pseudofile by using Arg Arg <file> Setfile, the editor
  does not switch to the new file as it does for disk files. Instead,
  editor writes a "snapshot" of the file to disk and keeps the pseudofile
  in memory. You must explicitly open the new disk file if you want to
  edit it.
 
  The <assign> and <record> pseudofiles are exceptions. For these files,
  the editor saves changed settings or the recorded macro by modifying
  TOOLS.INI.
 
  Pseudofiles can be used for work space or temporary data.
 
  To create a pseudofile, pass a pseudofile name to the Setfile function,
  as follows:
 
      Arg "<Scratch>" Setfile
      (arg <Scratch> setfile)
 
  This command creates the <Scratch> pseudofile.
                                    --
.context @L800a
:z3
:nPseudofile
:l17
                                             Up Contents Index Back
Microsoft Editor
 
  Pseudofiles have a different naming convention from disk files:
 
     The pseudofile name appears in angle brackets (<>); for example,
      '<Pseudo>'.
 
     There is not a base and extension, and the name can be longer than
      11 characters. For example, <..A PseudoFile?> is an acceptable
      pseudofile name.
 
     Pseudofile names are not case sensitive. For example, <PSEUDO> is
      the same as <pseudo>.
 
  A pseudofile cannot be saved to disk under its own name.
                                    --
.context tab.display
.context @L800b
:z3
:nHow Tabs are Displayed
:l42
                                             Up Contents Index Back
Microsoft Editor
 
  The following diagram shows how tab characters are displayed, according
  to the settings of the Filetab and Tabdisp switches.
 
          1      8       16      24      32   Filetab:8
          
          XXXXXXXXXXXXXXXXXXXXXXXXXXXX
                    
                       Tab field, displayed with Tabdisp:250
                     Tab character
 
  When white space is converted to tabs or spaces (according to the Entab
  and Realtabs switches), the editor maintains the displayed text
  alignment.
 
  When Realtabs is set to Yes, the Tabalign switch determines how the
  cursor is positioned when it enters a tab field, as follows:
 
  Setting         Description
 
  Tabalign:yes    When the cursor enters the tab field (as you press the
                  DOWN arrow, for example), the editor moves the cursor to
                  the tab character at the beginning of the field. The
                  cursor jumps to the beginning of the field.
 
  Tabalign:no     When the cursor enters the tab field, the cursor is
                  positioned as if the tab field contains spaces. The
                  cursor moves only one row or column at a time. If you
                  then type a character, the editor inserts enough spaces
                  to maintain te displayed cursor position.
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
                                    --
.context tab.enter
.context @L800c
:z3
:nEntering Tab Characters
:l31
                                             Up Contents Index Back
Microsoft Editor
 
  By default, the TAB key is assigned the Tab function. The Tab function
  moves the cursor and never modifies the contents of the file. To use the
  TAB key to type a tab character, assign the Graphic function to the TAB
  key.
 
  You can enter a TAB character directly, even when the TAB key is
  assigned to the Tab function.
 
  To type a tab character:
 
   1. Execute the Quote function (quote).
   2. Press TAB.
 
  The editor types a tab character at the cursor. If you are at a prompt,
  the editor displays a character that looks like an open circle. The
  Quote function can also be used to type other control characters.
 
  See
 
  Graphic Quote
  Inserting ASCII Characters
  Making a Keystroke Literal
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
                                    --
.context @L800d
:z3
:nEnvironment-Variable Specifiers
:l30
                                             Up Contents Index Back
Microsoft Editor
 
  Wherever you use a filename or path in the editor, you can use one of
  the following syntaxes as part of the name.
 
  Syntax
 
  $ENV:
  $(ENV)
 
  <ENV>    The name of an environment variable in all caps.
 
  Example
 
  To change the editor's current directory to the directory specified by
  the INCLUDE environment variable:
 
   1. Execute Arg (arg).
 
   2. Type the environment-variable specifier:
 
           $INCLUDE:
 
   3. Execute Setfile (setfile).
 
  See:
 
  Environment
                                    --
.context @L800e
:z3
:nMaking a Keystroke Literal
:l29
 Inserting ASCII Characters                Up Contents Index Back
Microsoft Editor
 
  You can insert special characters into a file, even when the correspond-
  ing key is assigned to an editor function.
 
  Each key corresponds to an ASCII value or an editor function. If the
  editor considers a key to be literal or "graphic," it types the
  corresponding character when you press the key. Otherwise, the editor
  executes the function assigned to the key.
 
  For example, if you change the CTRL+D key from the Right function to a
  literal key, the editor types the ASCII 4 character () each time you
  press CTRL+D.
 
  To permanently make a key literal, assign the key to the Graphic
  function in TOOLS.INI. The Graphic function is assigned to all
  alphanumeric and punctuation keys by default.
 
  To use a key once with its literal meaning, rather than its function
  assignment, use the Quote function. When you execute Quote (quote),
  the editor types the character for next key you press.
 
  See
 
  Assign Graphic Quote
 
  Entering Tab Characters
                                    --
.context ins_ascii
.context @L800f
:z3
:nInserting ASCII Characters
:l30
 Making a Keystroke Literal                Up Contents Index Back
Microsoft Editor
 
  You can type any ASCII character into your file or at an editor prompt.
 
  To type an ASCII character, make sure NumLock is turned on, hold down
  the ALT key, and enter the decimal code for the character using the
  numeric keypad. When you release the ALT key, the character is typed.
 
  To type a control character, you can also use the Quote function.
 
  Example
 
  To enter the square bullet character ():
 
   1. Make sure NumLock is turned on (press NUMLOCK).
 
   2. Press and hold the ALT key.
 
   3. Using the numeric keypad, type
 
           254
 
   4. Release the ALT key.
 
  See
 
  Quote
  Entering Tab Characters
                                    --
.context @L8010
:z3
:nClosing a File without Saving
:l12
                                             Up Contents Index Back
Microsoft Editor
 
  To close a file without saving changes, type Arg Refresh (arg refresh).
 
  Note that if the file is open in more than one window, it is discarded
  only from the active window.
 
  See
 
  Autosave Refresh
                                    --
.context @L8011
:z3
:nHow to Change Directories
:l15
                                             Up Contents Index Back
Microsoft Editor
 
  To change the current drive or directory:
 
   1. Execute the Arg function (arg).
 
   2. Type the drive specifier (C:) or directory name.
 
   3. Execute Setfile (setfile).
 
  See
 
  Arg Setfile
                                    --
.context markarg
.context @L8012
:z3
:nmarkarg
:l13
                                             Up Contents Index Back
Microsoft Editor
 
  markarg
 
  The name of a previously defined mark. This usually defines a region
  from the cursor to the location specified by the mark, depending on the
  function that is passed the markarg.
 
  See
 
  Mark
                                    --
.context numarg
.context @L8013
:z3
:nnumarg
:l9
                                             Up Contents Index Back
Microsoft Editor
 
  numarg
 
  A string of digits forming an integer. This usually indicates a range of
  lines starting from the cursor, depending on the function that is passed
  the numarg.
                                    --
.context stream
.context box
.context line
.context streamarg
.context boxarg
.context linearg
.context @L8014
:z3
:nSelection Modes and Arguments (Defined)
:l39
  Selection Modes (Setting)                Up Contents Index Back
Microsoft Editor
 
  Editor functions operate on three types of selections or "arguments".
 
  Depending on the function, the actual argument can be the selection as
  it appears on the screen (using the current selection mode), or it can
  be a fixed type of selection. For example, the Delete function uses the
  current selection, and the Sdelete function always uses a streamarg.
 
  Selection
  (Argument)  Description
 
  stream      A linear string of characters from the beginning of the
  (streamarg) selection to the cursor, as follows:
 
              abcdefghijklmnopqrstuvwxyz
              abcdef
              tuvwxyz
              abcdefghijklmnopqrstuvwxyz
 
  box         A rectangular area (column) of text, as follows:
  (boxarg)
              abcdefghijklmnopqrstuvwxyz
              abcdeftuvwxyz
              abcdeftuvwxyz
              abcdefghijklmnopqrstuvwxyz
 
  line        A range of entire lines from the line at the starting point
  (linearg)   to the line at the cursor, as follows:
 
              abcdefghijklmnopqrstuvwxyz
              
              
              abcdefghijklmnopqrstuvwxyz
 
 
  To cancel a selection, execute the Cancel function (cancel).
                                    --
.context @L8015
:z3
:nSelection Modes (Setting)
:l22
  Selection Modes (Defined)                Up Contents Index Back
Microsoft Editor
 
  The selection mode when the editor starts is determined by the
  Enterboxmode switch. If the Enterboxmode switch is not specified in
  TOOLS.INI, the editor starts in the last selection mode from the
  previous session.
 
  To toggle the selection mode with the mouse:
 
   1. Hold down the left mouse button.
 
   2. Click the right mouse button.
 
  To toggle the selection mode with the keyboard:
 
     Execute the Boxstream function (boxstream).
 
  See
 
  Boxstream Enterboxmode Usemouse
                                    --
.context TOOLS.INI
.context TOOLS
.context @L8016
:z3
:nAbout TOOLS.INI
:l31
                                             Up Contents Index Back
Microsoft Editor
 
  TOOLS.INI is the customization and initialization file for the editor.
  This file is also used by other tools such as NMAKE and debuggers. The
  editor reads key assignments, switch settings, and macro definitionss
  from this file.
 
  You specify settings for each tool in unique tagged sections of
  TOOLS.INI. Each section begins with a tag that specifies the base name
  of the tool's executable file, for example: '[NMAKE]'.
  See: Tagged Sections in TOOLS.INI
 
  The editor looks for TOOLS.INI in the directory given by the INIT
  environment variable. If INIT is not defined, the editor looks in the
  current directory.
 
  Between sessions, the editor saves certain settings in the editor .TMP
  file in the INIT directory. Settings in this file override those in
  TOOLS.INI.
 
  See
 
  Backslash: TOOLS.INI Line Continuation
  File-Extension Tags
  Named Tags
  Extension Tags
  Editor Loading Sequence
  Semicolon: TOOLS.INI Comment
  Tagged Sections in TOOLS.INI
                                    --
.context @L8017
:z3
:nLoading Sequence
:l35
                                             Up Contents Index Back
Microsoft Editor
 
  When you start the editor, it reads the TOOLS.INI file, loads editor
  extensions, and reads the editor .TMP file. You can suppress this
  sequence and start the editor with all default assignments and no
  retained status by specifying the /D option.
 
  When you do not specify the /D command-line option, the editor performs
  the following sequence of actions on startup:
 
   1. Reads the editor ([MEP]) section of TOOLS.INI.
 
      If this section includes Load switches, the editor loads the
      specified extension when the switch is encountered. When it loads
      the extension, the editor also reads the extension's tagged section.
      For example, when the Help extension is loaded, the editor reads the
      [MEP-MHELP] section of TOOLS.INI.
 
   2. Automatically loads extensions with certain names.
      See: Editor Extension Autoload
 
   3. Reads the editor .TMP file.
 
   4. Reads the tagged section for the file extension of the current file.
      See: File-Extension Tags
 
   5. Runs the Autostart macro if it is defined in TOOLS.INI.
      See: Autostart
 
  See
 
  Named Tags
  Tagged Sections in TOOLS.INI
                                    --
.context MEP.TMP
.context @L8018
:z3
:nEditor .TMP File (MEP.TMP)
:l22
                                             Up Contents Index Back
Microsoft Editor
 
  The editor maintains status information in a file with the base name of
  the editor executable file and the extension .TMP. This file is saved in
  the directory listed in the INIT environment variable.
 
  Information stored in this file includes:
 
      A list of open files
      The cursor position in the file
      The window layout
      The arguments for the last find and find-and-replace commands
 
  Editor settings can be set with TOOLS.INI, then modified during a
  session. Some of these settings are saved in the status file, and
  override any settings specified in TOOLS.INI.
 
  See
 
  Loading Sequence
                                    --
.context @L8019
:z3
:nTagged Sections in TOOLS.INI
:l48
                                             Up Contents Index Back
Microsoft Editor
 
  Tags divide the TOOLS.INI file into sections. A section begins with a
  tag, and truns to the next tag or the end of the file. The editor
  recognizes only the sections tagged for the editor. When you start the
  editor, the sections are read in a specific order.
  See: Loading Sequence
 
  An editor tag is a line with the form:
 
      [<editor>-<tag>]
 
  The <editor> is the base name of the editor executable file (MEP). The
  <tag> is a file extension, a name, or the base name of an editor
  extension executable file.
 
  the main editor section has the [MEP] tag. You list most editor
  assignments and macro definitions in the main editor section. When you
  save a key assignment, switch setting, or recorded macro, the editor
  puts the new definition in this section unless it knows that the
  definition belongs to a specific editor extension.
  See: Macro Recording
 
  You can define the following tags:
 
  File-Extension Tags
 
      Statements read when you switch to a file, according to the file's
      extension.
 
  Named Tags
 
      Statements read by passing the name to the Initialize function
      (initialize).
      See: Initialize
 
  Extension Tags
 
      Statements read when an editor extension is loaded. Statements for
      an editor extension appear in a section tagged with the base name of
      the extension's executable file. For example, Help settings appear
      after the [MEP-MHELP] tag.
 
  See
 
  About Extensions
                                    --
.context @L801a
:z3
:nExtension Tags in TOOLS.INI
:l30
                                             Up Contents Index Back
Microsoft Editor
 
  When the editor loads an extension, it reads the tagged section of
  TOOLS.INI for that extension. Switches and key assignments for each
  extension appear in the extension's tagged section.
 
  Syntax
 
  [editor-extension]
 
  <editor>       The base name of the editor executable file.
 
  <extension>    The base name of the extension executable file.
 
  Example
 
  Use the following tag for entries specific to the MHELP extension:
 
      [MEP-MHELP]
      ;  Settings for MHELP.DLL
      Helpfiles:$PATH:MEP.HLP
      . . .
 
  See
 
  File-Extension Tags in TOOLS.INI
  Named Tags
  Loading Sequence
                                    --
.context @L801b
:z3
:nFile-Extension Tags in TOOLS.INI
:l46
                                             Up Contents Index Back
Microsoft Editor
 
  You can create a tagged section in TOOLS.INI with statements specific to
  a file extension. When you open or switch to a file, the editor reads
  the section specified the tag that matches the new file's extension.
 
  Syntax
 
  [MEP-.ext]
 
  <ext>    File extension of up to three characters.
 
  Some files, such as pseudofiles, have no extension. The tag for these
  files is written:
 
       [MEP-.]
 
  Default
 
  When you open or switch to a file, and a tag that matches the file's
  extension is not found, the editor retains the current settings unless
  there is a default file-extension tag in TOOLS.INI.
 
  The default extension tag has a period for the extension, as follows:
 
       [MEP-..]
 
  The editor reads this section when you switch to a file whose extension
  does not match any other file-extension tag.
 
  Example
 
  The tag:
 
       [MEP-.C MEP-.H MEP-.CXX MEP.HXX]
 
  defines a tagged section of TOOLS.INI with statements for C and C++
  source-language files (files with the extension .C, .H, .CXX, or .HXX).
 
  See
 
  Named Tags
  Extension Tagsin TOOLS.INI
  Loading Sequence
                                    --
.context @L801c
:z3
:nNamed Sections in TOOLS.INI
:l45
 Example                                   Up Contents Index Back
Microsoft Editor
 
  You can define named sections of TOOLS.INI that you load manually. Use
  named sections to make special key assignments, to load complex or
  rarely used macros, or to use a special configuration under particular
  circumstances.
 
  Syntax
 
  [MEP-name]
 
  <name>    The name of the tagged section.
 
  A single section of TOOLS.INI can be given several tag names. These
  section tags have the form:
 
       [MEP-name1 MEP-name2 MEP-name3]
 
  To load a named section of TOOLS.INI, execute Arg 'name' Initialize by
  typing:
 
       arg name initialize
 
  This method of reading a tagged section can be used for any kind of
  tagged section, including the automatically loaded sections.
  See: Initialize
 
  TIP: To reload the main section of TOOLS.INI without clearing other
       settings that you want to remain in effect, label the main section
       of TOOLS.INI with the tag:
 
            [MEP MEP-main]
 
       Then use Arg 'main' Initialize to recover your startup settings
       instead of using Initialize with no arguments. Executing Initialize
       with no arguments clears your current settings before reading the
       main section.
 
  See
 
  File-Extension Tags in TOOLS.INI
  Extension Tagsin TOOLS.INI
  Loading Sequence
                                    --
.context @L801d
:z3
:nTOOLS.INI Tagged Section Example
:l43
 Description                               Up Contents Index Back
Microsoft Editor
 
  The following manually loaded section defines editor settings and a
  macro to translate tab characters in the file to spaces:
 
      [MEP-detab]
      Filetab :8          ;Tabs expand to 8 spaces
      Entab   :0          ;Translate white space to spaces
      Realtabs:no         ;Do not preserve tabs
      Unixre  :yes        ;Use UNIX regular expressions
      ;  TouchAll - Modify all nonblank lines
      TouchAll:= begfile arg arg replace "^." newline "\\0" newline
      TouchAll:ALT+D      ;Press ALT+D to detab the file
 
  To initialize this section:
 
   1. Execute Arg 'detab' Initialize to read the 'detab' section of
      TOOLS.INI:
 
           arg detab initialize
 
      The editor reads the statements from the 'detab' section. Reading
      this section sets the Filetab, Entab, Realtabs, and Unixre switches,
      defines the macro 'TouchAll', and assigns it to the ALT+D key.
 
   2. Execute the Touchall macro by pressing ALT+D.
 
      The macro moves to the beginning of the file and uses a regular
      expression to replace the first character on every line with that
      character. This causes the editor to perform the white-space
      translation for every nonblank line in the file.
 
  To add tabs instead of removing them, use the definitions above except
  set the Entab switch to 1.
 
  See
 
  Entab Filetab Initialize Unixre Realtabs
 
  Semicolon: TOOLS.INI Comment
  Backslash: TOOLS.INI Line Continuation
                                    --
.context @L801e
:z3
:nSemicolon: TOOLS.INI Comment
:l22
                                             Up Contents Index Back
Microsoft Editor
 
  To specify a comment in the TOOLS.INI file, place a semicolon (;) at the
  beginning of a line or following a space. The editor ignores text from
  the semicolon to the end of the line.
 
  For example, the first semicolon in the statement below is part of a
  command, and the second semicolon begins a comment.
 
      Printcmd:lister -t4 %s -c;   ;Print using lister program
 
  Semicolons inside a quoted string do not begin a comment.
 
  NOTE: The Assign function does not recognize a comment unless the
        comment is on a line by itself.
        See: Assign
 
  See
 
  Backslash: Line Continuation in TOOLS.INI
                                    --
.context @L801f
:z3
:nBackslash: TOOLS.INI Line Continuation
:l37
                                             Up Contents Index Back
Microsoft Editor
 
  To continue a long macro definition across lines in TOOLS.INI, use a
  backslash character (\). The backslash must be preceded by a space to be
  treated as a line-continuation character.
 
  Precede the backslash by two spaces or a tab if you want the macro to
  contain a space at that location. The backslash must be the last
  character on the line except for spaces and tabs.
 
  NOTE: The Assign function with no argument does not recognize line
        continuations. To initialize a macro with line continuations,
        select the entire definition before executing Assign.
 
  Example
 
  The backslash in the following statement is not a line continuation.
 
      Qreplace:CTRL+\
 
  However, the backslash at the end of the first line below is a line
  continuation.
 
      Findtag:=arg arg "^\\[[^\\]]+\\]" psearch ->none  \
               arg setwindow => :>none arg "no tag" message
 
  In this example, the backslash is preceded by two spaces. The first
  space is included to separate '->none' from 'arg' in the macro
  definition. The second space identifies the backslash that follows it as
  the line-continuation character.
 
  See
 
  Assign
  Semicolon: TOOLS.INI Comment
                                    --
.context mep.assign
.context @L8020
:z3
:nConfiguring the Editor With the <assign> File
:l73
 Open <assign> File                        Up Contents Index Back
Microsoft Editor
 
  You can configure the editor as it runs by using the <assign> file.
 
  To open the <assign> file at any time, execute:
 
       Arg "?" Assign (arg "?" assign)
 
  The <assign> file is a pseudofile that lists the current key assignments
  and switch settings. To change a setting, edit the text to the right of
  the colon (:). When you move the cursor off the line, the editor makes
  the assignment and highlights the line. Make sure that you change only
  one line at a time. To add a new setting, find or create an empty line
  then type the new setting.
 
  Assignments for the editor and each loaded extension are listed under
  tags, as they would appear in TOOLS.INI.
 
  To see information about an item, move the cursor to the function,
  macro, or switch name and execute Mhelp (MHelp).
 
  To save your settings, save the file with the sequence:
 
      Arg Arg Setfile (arg arg setfile)
 
  The editor writes the new settings to the appropriate section of
  TOOLS.INI. Only modified settings are saved.
 
  The <assign> file is divided into the following sections:
 
  Instrinsic Editor Functions
 
      Lists the built-in editor functions and the keys assigned to them.
 
      If a function does not have a key assigned to it, the line listing
      the function is a comment. The line begins with a semicolon (;) and
      the text "is unassigned" appears instead of a key.
 
      To assign a key to one of these functions, replace "is unassigned"
      with the key then delete the semicolon. To see the name of a key or
      key combination, see the table of keys under "Available Keys" or use
      the Tell function.
 
  Macros
 
      Lists the defined macros and the keys assigned to them. Change macro
      key assignments the same way as for functions.
 
      The editor does not display the definitions of the macros. To see
      the definition of a macro, use the Tell function.
 
  Available Keys
 
      Lists the keys that are not assigned to any function. You can copy
      the key name from this table for a new key assignment.
 
  Switches
 
  The next section lists the editor switches, grouped by the type of value
  taken by the switch: Numeric, Boolean, and Text. For information about a
  switch, see the Help for the switch.
 
  See
 
  Assign Setfile Tell
 
  Alphabetical List of Functions
  Alphabetical List of Switches
  Boolean Switch Syntax
  Configuring the Editor With TOOLS.INI
  Writing Macros
                                    --
.context mep.extensions
.context MXT
.context PXT
.context @L8021
:z3
:nAbout Editor Extensions
:l18
                                             Up Contents Index Back
Microsoft Editor
 
  The Microsoft Editor is a general, language-independent programming
  platform. The platform includes an editor, a simple compile mechanism,
  and a facility (editor extensions) to extend the platform. Extensions
  the capabilities of the editor, or manage additional tools.
 
  To write your own editor extensions in C, use the headers and libraries
  provided with the product.
  See: Writing Editor Extensions
 
  Editor extensions are dynamically loaded modules and are not part of the
  editor executable file. Extensions can be loaded automatically if they
  conform to a naming convention and are in a certain location. They can
  also be loaded explicitly by assigning a new value to the Load switch.
  See: Load Editor Extension Autoload Editor Extension Search Order
                                    --
.context @L8022
:z3
:nEditor Extension Search Order
:l21
                                             Up Contents Index Back
Microsoft Editor
 
  When loading an extension, the editor searches for the executable file
  in the following sequence:
 
   1. If an environment variable or a full path is specified, editor
      searches the appropriate directories. If neither is specified,
      editor searches the current directory.
 
   2. If the desired extension is not found and its name is a base name
      without an extension, editor appends the extension .DLL and repeats
      step 1.
 
  See
 
  Load Switch
  Editor Extension Autoload
  Editor Extension Tags in TOOLS.INI
  Editor Loading Sequence
                                    --
.context ext.autoload
.context @L8023
:z3
:nEditor Extension Autoload
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  The editor automatically loads extensions if they follow a specific
  naming convention. For extensions that follow the convention, it is not
  necessary to put load statements in TOOLS.INI.
  See: Autoload Editor Loading Sequence
 
  During extension autoload, editor searches the directory where the
  editor executable file is located for filenames with the pattern:
 
          M*.DLL
 
  The editor loads as many extensions with names of this form as it finds.
  When editor loads an extension, it also loads the extension's tagged
  section of TOOLS.INI (if defined).
  See: Editor Extension Tags in TOOLS.INI Editor Loading Sequence
 
  To suppress extension autoloading, use the /D option on the editor
  command line.
  See: Editor Command Line
 
  See
 
  Editor Extension Tags in TOOLS.INI
  Editor Loading Sequence
                                    --
.context Macro
.context @L8024
:z3
:nWriting Macros
:l18
 Macro Examples                            Up Contents Index Back
Microsoft Editor
 
  The editor macro language is a simple language without types,
  declarations, arithmetic, or variables. This seems limited at first, but
  with regular-expression searching, flow control, and the complete set of
  functions, the language is surprisingly powerful.
 
  See the following topics for details on writing macros:
 
  Defining Macros (Macro Syntax)
  Macro Conditionals (Looping)
  Macro Prompt Directives
  Macro String Syntax
  Macro Recording
  Regular Expressions in Macro Strings
  Text Macros
                                    --
.context @L8025
:z3
:nList of Macro Examples
:l24
 Macro Writing                             Up Contents Index Back
Microsoft Editor
 
  The following examples demonstrate the fundametals of writing macros for
  the editor:
 
  Macro Conditional Example
  Macro Looping Examples
  Macro Example: Expanding Text Abbreviations
  Macro Prompt Directive Example
  Regular Expressions in Macro Strings
  Text Macros
 
  The following examples demonstrate specific functions and also include
  valuable macro programming techniques:
 
  Begline Macro Example
  Linsert Macro Example
  Lasttext Macro Example
  Message Macro Example
  Prompt Macro Example
  Replace Macro Example
  Right Macro Example
                                    --
.context @L8026
:z3
:nDefining Macros (Macro Syntax)
:l55
                                             Up Contents Index Back
Microsoft Editor
 
  The editor uses the following line-oriented syntax for defining macros.
  Macros can be defined in the TOOLS.INI file or interactively by using
  the Assign function or by recording.
  See: Assign
       TOOLS.INI
       Tagged Sections in TOOLS.INI
       Macro Recording
 
  Syntax
 
  name := definition
 
  <name>          Name of the macro being defined.
 
  :=              Macro-definition directive.
 
  <definition>    List of functions, macros, strings, and directives that
                  define the macro.
 
  The name can use any character other than the colon, semicolon, and
  white-space characters. Macros are not case sensitive. The name cannot
  be any of the following directives:
 
       :=  :>  =>  +>  ->  <  <y  <n
 
  Other than these directives, there are no reserved words. You can use
  any name.
 
  White space in a definition is significant only to separate one element
  from another. Use white space freely to make your definitions readable.
  A definition can be placed on multiple lines by using TOOLS.INI line
  continuations.
  See: Backslash: TOOLS.INI Line Continuation
 
  Macros can call editor functions, extension functions, and other macros.
  You can use a name in a macro definition before it is defined, but all
  macros must be defined before they can be executed. The editor calls
  functions and macros by name at run time. That is, the editor uses late
  (dynamic) binding. You can change a macro's behavior by redefining the
  called macros.
 
  NOTE: Macros can be nested to a maximum depth of 20 calls. This limit
        makes recursion impractical in most situations.
 
  See
 
  Macro Conditionals (Looping)
  Macro Prompt Directives
  Macro Recording
  Macro String Syntax
  Tagged Sections in TOOLS.INI
                                    --
.context @L8027
:z3
:nMacro Conditionals (Looping)
:l39
                                             Up Contents Index Back
Microsoft Editor
 
  The editor provides the fundamental constructs to write loops and to
  control the flow of execution in macros: labels, a 'goto' directive, and
  conditional jumps.
 
  All functions in the editor return a true or false result that can be
  tested. This result generally correspond to success or failure of the
  operation. Use the following directives to test function results and
  define labels:
 
  Syntax        Description
 
  =>[label]     Goto: unconditionally branch to <label>.
  +>[label]     If: branch to <label> on True.
  ->[label]     If not: branch to <label> on False.
  :>label       Define the label <label>.
 
  If the label is omitted in =>, +>, or ->, the editor exits the macro.
  The label in ':>label' is required.
 
  You can write recursive macros to perform iteration, but the editor
  limits the number of nested macro calls to 20. This limit makes
  recursion impractical in most situations.
 
  TIP: Use the following macros to return a result from a macro:
 
       ;  Set True return value
       True := Noop
 
       ;  Set False return value (turns off Meta prefix)
       False := Meta +>off Meta :>off Meta
 
  See
 
  Macro Conditional Example
  Macro Looping Examples
                                    --
.context @L8028
:z3
:nMacro Conditional Example
:l67
                                             Up Contents Index Back
Microsoft Editor
 
  The following macro (named "?") tests the return value of the previously
  executed function and displays the result on the status bar.
 
      ? := ->false arg "True" message => :>false arg "False" message
 
  With this macro, you can place a question mark in any macro definition
  to query the result of a function.
 
  To use this macro interactively:
 
   1. Press Arg (arg).
 
   2. Type the name of the function or a macro phrase that you want to
      query, a space, and the question mark.
 
   3. Press Execute (execute).
 
  For example, you can type:
 
      arg Endline ? execute
 
  To find the return value of Endline for the current cursor position.
 
  Example
 
  Macro conditionals allow you to test the return value of functions and
  execute different branches of the macro depending on the result of the
  test.
 
  The macro below shows the idiom for an 'if-then-else':
 
      QueryHelp := arg "Get Help On:" prompt ->no mhelp =>  \
                :>no arg "Query Cancelled" message
 
  The '->no' directive tests the result of the Prompt function. When
  Prompt returns False (the user chooses Cancel), the macro branches to
  the label No, skipping the Mhelp function. When Prompt returns True (the
  user chooses OK), the conditional is not satisfied, no branch is taken,
  and Mhelp is executed.
 
  The '=>' directive branches to the end of the macro, skipping the part
  of the macro after the label No.
 
  Example
 
  Several editor functions toggle some condition or mode. You can write
  macros to define imperative forms that always turn a condition on or
  off. These macros take the form of the following macro, which turns on
  insert mode:
 
      SetInsertMode := Insertmode +> Insertmode
 
  This macro executes the following steps:
 
   1. The Insertmode function toggles the state of insert mode. Insertmode
      returns TRUE when insert mode is turned on.
 
   2. When the function returns TRUE, the +> operator exits the macro. In
      this case, a return value of TRUE indicates that insert mode is
      turned on, and the macro exits.
 
   3. If the function returns FALSE, the macro continues to this step,
      which executes Insertmode again to toggle insert mode on.
                                    --
.context @L8029
:z3
:nMacro Looping Examples
:l44
 Description                               Up Contents Index Back
Microsoft Editor
 
  Macro conditionals allow you to write loops, as shown in the following
  examples.
 
  This macro executes the macro 'Act' for every line in the file, starting
  from the end of the file. You can define Act to be any action you want.
 
      AllBackward := Endfile :>s Act Up +>s
 
  The following macro scans forward a line at a time. However, it has the
  limitation that it executes Act for a window of lines past the end of
  the file. Depending on the action, this may be benign.
 
      AllForward := Begfile :>s Act Down +>s
 
  A macro that scans forward and stops on the last line of the file is
  slower because the termination test is costly. This macro also clears
  the anchor as a side effect.
 
      AllForward2 := Begfile Savecur :>s Restcur act   \
                     Down Savecur Begline Endfile +>s
 
  In practice, you rarely need to perform an action on every line. More
  common (and faster) is the "file loop" where an action is repeated for
  each occurrence of a text pattern (regular expression) in the file.
  These macros generally take the following form:
 
      For1 := Begfile :>s Arg Arg "RE" Psearch -> Act =>s
 
  Where 'RE' is a regular expression that matches a location of interest,
  and 'Act' is a macro or function sequence that performs the desired
  action. If the action does not perform a search, the macro runs faster
  if the pattern is specified only once before the beginning of the loop,
  as follows:
 
      For2 := Begfile Arg Arg "RE" :>s Psearch -> act =>s
 
  This takes advantage of the behavior of Psearch with no arguments, which
  repeats the previous search. When a regular expression is used, it is
  compiled only once at the beginning of the loop.
  See: Regular Expressions in Macro Strings
                                    --
.context @L802a
:z3
:nMacro String Syntax
:l28
                                             Up Contents Index Back
Microsoft Editor
 
  A macro string is a sequence of characters enclosed in double quotation
  marks. When the editor is executing a macro, an occurrence of a string
  is equivalent to typing the characters in the string. Some switches,
  such as the Word and Build switches, accept macro strings as part of
  their setting.
 
  Within a macro string, you can use the following escape sequences to
  encode special characters:
 
  Sequence   ASCII   Description
 
  \\         92      Backslash
  \"         34      Double quotation mark
  \n         10      Newline (linefeed)
  \r         13      Carriage return
  \t         9       Tab
  \<c>       <c>     Character <c>, where <c> is any character other than
                     the characters \"nrt or a hexadecimal digit
 
  See
 
  Text Macros
  Macro Example: Expanding Text Abbreviations
  Regular Expressions in Macro Strings
                                    --
.context @L802b
:z3
:nRegular Expressions in Macro Strings
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  When writing a searching macro that uses regular expressions, note that
  the backslash character is used in both the macro string syntax and
  regular expression syntax. This means that every backslash in the
  regular expression must be doubled within the macro string.
 
  For example, the following macro uses a regular-expression find-and-
  replace operation to adjust each line continuation (backslash at the end
  of a line) so that it appears in column 73.
 
      SlashJust:=savecur begfile arg arg replace    \
                 "^\\(.*[^ ]\\)  +\\\\$" newline    \
                 "\\(-70,1)  \\\\" newline restcur
 
  Note that the literal backslash at the end of each string is specified
  with four backslashes: doubled once to escape it in the regular
  expression and doubled again to escape it in the macro string.
 
  See
 
  Macro String Syntax
  Regular Expressions
                                    --
.context @L802c
:z3
:nText Macros
:l28
 Description                               Up Contents Index Back
Microsoft Editor
 
  One of the simplest macros is the text macro. The definition of a text
  macro consists of a stringno functions are necessary. When the editor
  encounters a string while executing a macro, it types the string.
 
  Commonly entered text can be defined as a text macro and typed using a
  single key assigned to the macro. For example, the macro:
 
      var := "variable"
 
  types the word 'variable'. If you have a lot of text macros, you can run
  out of keys. However, a macro can be executed by nameit doesn't have
  to be assigned to a key. For example, the macro above can be executed as
  follows:
 
    1. Execute the Arg function (arg).
 
    2. Type the name of the macro or function to execute. In this case,
       'var'.
 
    3. Execute the Execute function (execute).
 
  With two additional macros, you can build a shorthand mechanism where a
  single key expands an abbreviation in the file.
  See: Macro Example: Expanding Text Abbreviations
                                    --
.context @L802d
:z3
:nMacro Example: Expanding Text Abbreviations
:l67
                                             Up Contents Index Back
Microsoft Editor
 
  The macros below implement a "template" mechanism that you can use to
  expand abbreviations or insert boilerplate text such as a standard
  function header.
 
  The SelWord macro selects the word at the cursor. This is useful by
  itself. However, in this example, it is used as part of the Expand
  macro.
 
      ;  Select the current word
      SelWord:= pword ->eof mword arg meta pword =>  \
                :>eof mword pword arg meta pword
 
  The Expand macro deletes the word at the cursor and executes it. If the
  word is defined as a function or a macro, the editor performs the
  specified action. In the following example, it is assigned to the ALT+T
  key.
 
      ;  Delete the current word and execute it
      Expand := selword lasttext cancel lastselect meta sdelete  \
                lasttext execute
      Expand :Alt+T
 
  To use Expand, type the abbreviation and press ALT+T.
 
  With Expand, many text macros can be defined for use as shorthand, but
  only one key is needed to expand them all. For example, with the
  following text macros:
 
      ;  Simple text expansion
      prog := "program"
      ex   := "example"
 
  type 'ex', ALT+T, ' prog', ALT+T to get 'example program'.
 
  You can define a text macro in terms of another so that one abbreviation
  can be used for more than one expansion:
 
      ;  Expand 'cmd' once to get 'command', Expand twice
      ;  to get 'command line'
      cmd    := "command"
      command:= "command line"
 
  Expand is not limited to text macros. It can be used to execute any
  macro or function. For example, the following macro expands to the
  contents of a filea good technique for large boilerplate text:
 
      Header := arg "$INIT:header.txt" paste
 
  The following macro could form the basis of a complete C programming
  template package. It expands the 'for' keyword into the outline of a for
  loop and positions the cursor at the first enclosed statement.
 
      ;  Expand the skeleton of a C 'for' loop
      for := "for (;;) {"   begline down linsert  "}" left  \
             linsert tab ";" left
 
  When Expand is used on the word 'for', it yields the text:
 
      for (;;) {
           ;
      }
 
  After expansion, the cursor is on the statement in the block.
                                    --
.context macro.prompt
.context @L802e
:z3
:nMacro Prompt Directives
:l24
 Example                                   Up Contents Index Back
Microsoft Editor
 
  While a macro is running, functions do not display their prompts and
  assume the default response. The default response is usually yes.
 
  You can restore the function's prompt or change the assumed response by
  using the macro prompt directives. Note that only editor functions
  suppress their prompts within a macro; extension functions always prompt
  and ignore the macro prompt directives.
 
  Syntax
 
  <[yn]
 
  <    Restore prompt: the editor displays the prompt and waits for user
       input before continuing with the macro.
 
  <y   Assume Yes: the editor does not display the prompt and continues
       executing with a Yes response.
 
  <n   Assume No: the editor does not display the prompt and continues
       executing with a No response.
                                    --
.context @L802f
:z3
:nMacro Prompt Directive Examples
:l34
 Description                               Up Contents Index Back
Microsoft Editor
 
  The GetMac macro in the following definition uses the prompt directive
  and a conditional jump to validate a filename passed to the Setfile
  function. GetMac assumes a text argument with the base name of a .MAC
  file to be found in the INIT directory.
 
      ;GetMac - Load a file of macros or assignments.
      ;
      ;Usage: Arg 'file' getMac where <file> is the base name of
      ;       a file in the INIT directory
      ;
      GetMac := cancel lasttext begline "$INIT:" endline ".MAC"  \
                setfile <n +>Ok   lasttext begline               \
                "Can't find \"" endline "\"" message =>          \
           :>Ok begfile arg endfile assign ->  arg refresh
 
  To validate the filename, GetMac changes the default response for the
  Setfile 'File does not exist! Create?' prompt from Yes to No so that the
  file is not created. The exact phrase in the macro is:
 
      Setfile <n +>ok
 
  The '<n' changes the default Setfile response from Yes to No. The '->ok'
  jumps to the label 'ok' when Setfile returns true (the file exists).
  Otherwise, GetMac displays a message that the file could not be found
  and exits the macro with '=>'.
 
  The 'ok' branch selects the contents of the file and executes the Assign
  function. If the assignment succeeds, GetMac closes the file. Otherwise,
  it exits the macro so that you can correct the assignment that caused
  Assign to fail.
                                    --
.context @L8030
:z3
:nMacro Recording
:l36
                                             Up Contents Index Back
Microsoft Editor
 
  To record a macro:
 
   1. Execute the Record function (record).
 
      While macro recording is turned on, "REC" appears in the status bar.
 
      You can also start recording with variations:
 
         To set the name of the macro and begin recording in one step,
          execute the function sequence:
 
              Arg "name" Record (arg name record).
 
         To record actions without executing them, start recording by
          using a Meta form of the Record function.
 
   2. Execute the series of actions you want to record.
 
      Note that some commands cannot be recorded. These commands are
      unavailable while recording is turned on.
 
   3. Turn recording off by executing the Record function again (record).
 
  To resume recording the macro where you left off, start recording by
  using an Arg Arg form of the Record function.
 
  You can open the <record> pseudofile to view, edit, and save the current
  recorded macro.
 
  See
 
  Meta Record
                                    --
.context regex
.context regular expression
.context pattern
.context @L8031
:z3
:nRegular Expressions
:l30
                                             Up Contents Index Back
Microsoft Editor
 
  A regular expression (sometimes called a "pattern") is a find string
  that uses special characters to match patterns of text. You can use
  regular expressions to find patterns such as five-digit numbers or
  strings in quotation marks. Selected portions of text found by using a
  regular expression can be used in a replacement.
 
  In the editor you can specify regular expressions in two ways: UNIX
  syntax and Microsoft syntax. UNIX regular expressions have a syntax
  similar to regular expressions in the UNIX and XENIX operating systems.
  See: UNIX Regular Expressions
 
  Microsoft regular-expression syntax has the features of UNIX regular
  expressions, plus additional features, and uses a more compact syntax.
  See: Microsoft Regular Expressions
 
  The Unixre switch determines whether the editor uses UNIX or Microsoft
  regular expressions in searches.
  See: Unixre
 
  See
 
  UNIX Regular Expression Summary
  Microsoft Regular Expression Summary
  Tagged Regular Expressions
  Aligning Tagged Expressions
  Predefined Regular Expressions
                                    --
.context re.unix
.context @L8032
:z3
:nUNIX Regular Expressions
:l107
 Summary                                   Up Contents Index Back
Microsoft Editor
 
  The editor uses the following UNIX-style regular-expression syntax:
 
  Syntax         Description
 
  \c             Escape: matches a literal occurrence of the character <c>
                 and ignores any special meaning of <c> in a regular
                 expression.
 
                 For example, the expression '\?' matches a question mark
                 '?', the expression '\^' matches a caret '^', and the
                 expression '\\' matches a backslash '\'.
 
  .              Wildcard: matches any single character.
 
                 For example, the expression 'a.a' matches 'aaa', 'aBa',
                 and 'a1a' but not 'aBBBa'.
 
  ^              Beginning of line.
 
                 For example, the expression '^The' matches the word 'The'
                 only when it occurs at the beginning of a line.
 
  $              End of line.
 
                 For example, the expression 'end$' matches the word 'end'
                 only when it occurs at the end of a line.
 
  [class]        Character class: matches any one character in the class.
                 Use a dash (-) to specify ranges. Within a class, all
                 characters except ^-\] are treated literally.
 
                 For example, '[a-zA-Z0-9]' matches any character or
                 digit, and '[abc]' matches 'a', 'b', or 'c'.
 
  [^class]       Inverse of character class: matches any character not
                 specified in the class.
 
                 For example, [^0-9] matches any character that is not a
                 digit.
 
  x*             Repeat operator: matches zero or more occurrences of <x>,
                 where <x> is a single character, a character class, or a
                 set of regular expressions specified with the alternation
                 syntax.
 
                 For example, the regular expression 'ba*b' matches
                 'baaab', 'bab', and 'bb'. This operator always matches as
                 many characters as possible.
 
  x+             Repeat operator (shorthand for xx*): matches one or more
                 occurrences of <x>.
 
                 The regular expression 'ba+b' matches 'baab' and 'bab'
                 but not 'bb'.
 
  \(x\)          Tagged expression: marked text, which you can refer to as
                 '\n' elsewhere in the find or replacement string. Within
                 a find string, the editor finds text that contains the
                 tagged text. Within a replacement string, the editor
                 reuses the matched text in the replacement.
                 See: Tagged Regular Expressions
 
  \n             References the characters matched by a tagged expression,
                 where <n> is a one-digit number and indicates which
                 expression. The first tagged expression is '\1', the
                 second is '\2', and so on. The entire expression is
                 represented as '\0'.
                 See: Tagged Regular Expressions
 
  \{x\}          Grouping. Groups a regular expression so that you can use
                 a repeat operator on the subexpression.
 
                 For example, the regular expression '\{Test\}+' matches
                 'Test' and 'TestTest'.
 
  \{x\!y\!z\}    Alternation: matches one from a set of alternate
                 patterns. The alternates are tried in left-to-right
                 order. The next alternate is tried only when the rest of
                 the pattern fails.
 
                 For example, '\{ +\!$\}' matches a sequence of blanks or
                 the end of a line.
 
                 TIP: To match zero or one occurrences of a pattern, use
                      alternation with an empty alternative:
 
                           \{x\!\}
 
                      This specifies one occurrence of <x> or nothing.
 
  \~x            "NOT" function: matches nothing but checks to see whether
                 the text matches <x> at this point and fails if it does.
 
                 For example, '^\~\{ \!$\}.*' matches all lines that do
                 not begin with white space or end of line.
 
  \:e            Predefined regular expression, where <e> is a letter
                 specifying the regular expression.
                 See: Predefined Regular Expressions
 
  See
 
  UNIX Regular Expression Examples
                                    --
.context @L8033
:z3
:nUNIX Regular Expression Summary
:l45
 Details                                   Up Contents Index Back
Microsoft Editor
 
  This table summarizes UNIX regular-expression syntax.
 
  Syntax         Description
 
  \c             Escape: literal character <c>
  .              Wildcard: any character
  ^              Beginning of line
  $              End of line
  [class]        Character class: any one character in set
  [^class]       Inverse class: any one character not in set
  x*             Repeat: zero or more occurrences of <x>
  x+             Repeat: one or more occurrences of <x>
  \{x\}          Grouping: group subexpression for repetition
  \{x\!y\!z\}    Alternation: match one from the set
  \~x            "Not": fail if <x> at this point
  \(x\)          Tagged expression
  \n             Reference to tagged expression number <n>
  \:e            Predefined expression:
 
                 Syntax    Description
 
                 \:a       Alphanumeric character
                 \:b       White space
                 \:c       Alphabetic character
                 \:d       Digit
                 \:f       Part of a filename
                 \:h       Hexadecimal number
                 \:i       C-style identifier
                 \:n       Unsigned number
                 \:p       Path
                 \:q       Quoted string
                 \:w       English word
                 \:z       Unsigned integer
 
  See
 
  Microsoft Regular Expression Summary
  Aligning Tagged Expressions
  Predefined Regular Expressions
  Tagged Regular Expressions
  UNIX Regular Expression Examples
                                    --
.context @L8034
:z3
:nUNIX Regular Expression Examples
:l24
 Description                               Up Contents Index Back
Microsoft Editor
 
  To find the next occurrence of a number (a string of digits) that begins
  with the digit 1 or 2:
 
   1. Execute Arg Arg (arg arg)
 
   2. Type '[12][0-9]*'
 
   3. Execute Psearch (psearch)
 
  Special characters are most powerful when they are used together. For
  example, the combination of the wildcard (.) and repeat (*) characters:
 
      .*
 
  matches any string of characters. This expression is useful when it is
  part of a larger expression, such as
 
      B.*ing
 
  which matches any string beginning with 'B' and ending with 'ing'.
                                    --
.context @L8035
:z3
:nTagged Regular Expressions
:l45
 Example                                   Up Contents Index Back
Microsoft Editor
 
  Tagged expressions are regular expressions enclosed by '\(' and '\)'
  (UNIX) or '{' and '}' (Microsoft). Use tagged expressions to match
  repeated elements and to mark substrings for use in a replacement.
 
  When you specify a regular expression with tagged subexpressions, the
  editor finds text that matches the regular expression and marks each
  substring matching a tagged subexpression. For example, the UNIX regular
  expression
 
      \(<\)\([^>]+\)\(>\)
 
  matches the string
 
      <bracketed>
 
  and tags the '<', 'bracketed', and '>' substrings.
 
  To refer to tagged text in a find or replacement pattern, use '\n'
  (UNIX) or '$n' (Microsoft), where <n> is the number of a tagged
  subexpression from 1 to 9. In a find pattern, this reference matches
  another occurrence of the previously matched text, not another
  occurrence of the regular expression. In a replacement, the editor uses
  the matched text.
 
  The entire match is implicitly tagged for use in replacement text. Use
  '\0' (UNIX) or '$0' to refer to the entire match. For example, the UNIX
  find pattern
 
          ^\([^ ]+\) +\([^ ]+\).*
 
  with the replace pattern
 
          \2 \1 (\0)
 
  matches lines without leading spaces and at least two words. It replaces
  them with lines that consist of the transposed words followed by the
  original line in parentheses.
 
  See
 
  Aligning Tagged Expressions
                                    --
.context @L8036
:z3
:nTagged Expressions (Example)
:l43
 Description                               Up Contents Index Back
Microsoft Editor
 
  The tagged expressions:
 
      UNIX                  Microsoft
 
      \([A-Za-z]+\)==\1     {[A-Za-z]+}==$1
 
  match one or more letters followed by two equal signs (==) and a
  repetition of the letters. They match the first two strings below, but
  not the third:
 
      ABCxyz==ABCxyz
      i==i
      ABCxyz==KBCxjj
 
  The following example finds one or more hexadecimal digits followed by
  the letter H. Each matching string is replaced by a string that consists
  of the original digits (which were tagged so they could be reused) and
  the prefix 16#.
 
   1. Find strings of the form '<hexdigits>H' with the UNIX and Microsoft
      patterns:
 
          \([0-9a-fA-F]+\)H
          {[0-9a-fA-F]+}H
 
      These patterns can also be expressed by using the predefined pattern
      for hexadecimal digits:
 
          \(\:h*\)H
          {:h}H
 
   2. Replace with the patterns:
 
          16#\1
          16#$1
 
  See
 
  Aligning Tagged Expressions
                                    --
.context re.align
.context @L8037
:z3
:nAligning Tagged Expressions
:l31
                                             Up Contents Index Back
Microsoft Editor
 
  To align a tagged regular expression, use the following syntax in the
  replacement string:
 
  UNIX          Microsoft
 
  \(width,n)    $(width,n)
 
  The <width> is the field size (negative for left alignment), and <n> is
  the number of the tagged expression to align.
 
  The editor justfies the tagged text according to the following rules:
 
     If <width> is greater than the length of the tagged text, the editor
      right aligns the tagged expression within the field and pads the
      field with leading spaces.
 
     If <width> is negative and its magnitude is greater than the length
      of the text, the editor left aligns the expression and pads the
      field with trailing spaces.
 
     If <width> is less than or equal to the length of the text, the
      editor uses the whole text and does not pad the field. the editor
      never truncates aligned text.
 
  See
 
  Tagged Regular Expressions
                                    --
.context re.predefined
.context @L8038
:z3
:nPredefined Regular Expressions
:l47
                                             Up Contents Index Back
Microsoft Editor
 
  The editor predefines the regular expressions in the following table.
  The expressions are listed in quoted Microsoft syntax, as they would
  appear in a macro definition. Use a predefined expression by entering
  '\:e' (UNIX) or ':e' (Microsoft).
 
  :e   Description
       Definition
 
  :a   Alphanumeric character
       "[a-zA-Z0-9]"
 
  :b   White space
       "([ \t]#)"
 
  :c   Alphabetic character
       "[a-zA-Z]"
 
  :d   Digit
       "[0-9]"
 
  :f   Part of a filename
       "([~/\\\\ \\\"\\[\\]\\:<|>+=;,.]#!..!.)"
 
  :h   Hexadecimal number
       "([0-9a-fA-F]#)"
 
  :i   C-style identifier
       "([a-zA-Z_$][a-zA-Z0-9_$]@)"
 
  :n   Unsigned number
       "([0-9]#.[0-9]@![0-9]@.[0-9]#![0-9]#)"
 
  :p   Path
       "(([A-Za-z]\\:!)(\\\\!/!)(:f(.:f!)(\\\\!/))@:f(.:f!.!))"
 
  :q   Quoted string
       "(\"[~\"]@\"!'[~']@')"
 
  :w   English word
       "([a-zA-Z]#)"
 
  :z   Unsigned integer
       "([0-9]#)"
                                    --
.context re.msft
.context @L8039
:z3
:nMicrosoft Regular Expressions
:l111
                                             Up Contents Index Back
Microsoft Editor
 
  The editor uses the following Microsoft regular-expression syntax:
 
  Syntax         Description
 
  \c          Escape: matches a literal occurrence of the character <c>
              and ignores any special meaning of <c> in a regular
              expression.
 
              For example, the expression '\?' matches a question mark
              '?', the expression '\^' matches a caret '^', and the
              expression '\\' matches a backslash '\'.
 
  ?           Wildcard: matches any single character.
 
              For example, the expression 'a?a' matches 'aaa' and 'a1a'
              but not 'aBBBa'.
 
  ^           Beginning of line.
 
              For example, the expression '^The' matches the word 'The'
              only when it occurs at the beginning of a line.
 
  $           End of line.
 
              For example, the expression 'end$' matches the word 'end'
              only when it occurs at the end of a line.
 
  [class]     Character class: matches any one character in the class. Use
              a dash (-) to specify ranges. Within a class, all characters
              except ~-\] are treated literally.
 
              For example, '[a-zA-Z*]' matches any alphabetic character or
              asterisk, and '[abc]' matches a single 'a', 'b', or 'c'.
 
  [~class]    Inverse of character class: matches any single character not
              in the class.
 
              For example, '[~0-9]' matches any character that is not a
              digit.
 
  x*          Minimal matching: matches zero or more occurrences of <x>,
              where <x> is a single character or a group of characters
              enclosed in parentheses (()), brackets ([]), or braces ({}).
 
              For example, the regular expression 'ba*b' matches 'baaab',
              'bab', and 'bb'.
 
  x+          Minimal matching plus (shorthand for xx*): matches one or
              more occurrences of <x>.
 
              For example, the regular expression 'ba+b' matches 'baab'
              and 'bab' but not 'bb'.
 
  x@          Maximal matching: identical to x*, except that it matches as
              many occurrences as possible.
              See: Microsoft Matching Method
 
  x#          Maximal matching plus: identical to x+, except that it
              matches as many occurrences as possible.
              See: Microsoft Matching Method
 
  (x!y!z)     Alternation: matches one from a set of alternate patterns.
              The alternates are tried in left-to-right order. The next
              alternate is tried only when the rest of the pattern fails.
 
              For example, the regular expression '(ww!xx!xxyy)zz' matches
              'xxzz' on the second alternative and 'xxyyzz' on the third.
 
              TIP: To match zero or one occurrences of a pattern, use
                   alternation with an empty alternative:
 
                       (x!)
 
                   This specifies one occurrence of <x> or nothing.
 
  (x)         Grouping. Groups a regular expression so that you can use a
              repeat operator on the subexpression.
 
              For example, the regular expression '(Test)+' matches 'Test'
              and 'TestTest'.
 
  ~x          "NOT" function: matches nothing but checks to see if the
              text matches <x> at this point and fails if it does.
 
              For example, '^~(if!while)?*$' matches all lines that do not
              begin with 'if' or 'while'.
 
  x^<n>       Power function: matches <n> copies of <x>.
 
              For example, 'w^4' matches 'wwww', and '(a?)^3' matches
              'a#aba5'.
 
  {x}         Tagged expression: marked text, which you can refer to as
              '$n' elsewhere in the find or replacement string. Within a
              find string, the editor finds text that contains the tagged
              text. Within a replacement string, the editor reuses the
              matched text in the replacement.
 
  $n          Reference to text matched by a tagged expression.
 
              The specific substring is indicated by <n>. The first tagged
              substring is indicated as '$1', the second as '$2', and so
              on. A '$0' represents the entire match.
 
  :e          Predefined regular expression, where <e> is a letter that
              specifies the regular expression.
              See: Predefined Regular Expressions
                                    --
.context @L803a
:z3
:nMicrosoft Regular Expression Summary
:l47
                                             Up Contents Index Back
Microsoft Editor
 
  The following table summarizes the special characters in Microsoft
  regular-expression syntax.
 
  \c          Escape: literal character <c>
  ?           Wildcard: any character
  ^           Beginning of line
  $           End of line
  [class]     Character class: any one character in set
  [~class]    Inverse class: any one character not in set
  x*          Repeat: zero or more occurrences of <x>
  x+          Repeat: one or more occurrences of <x>
  x@          Repeat: maximal zero or more occurrences of <x>
  x#          Repeat: maximal one or more occurrences of <x>
  (x)         Grouping: group subexpression for repetition
  (x!y!z)     Alternation: match one from the set
  ~x          "Not": fail if <x> at this point
  x^n         "Power": match <n> copies of <x>
  {x}         Tagged expression
  $n          Reference to tagged expression number <n>
  :e          Predefined expression
 
              Syntax   Description
 
              :a       Alphanumeric character
              :b       White space
              :c       Alphabetic character
              :d       Digit
              :f       Part of a filename
              :h       Hexadecimal number
              :i       C-style identifier
              :n       Unsigned number
              :p       Path
              :q       Quoted string
              :w       English word
              :z       Unsigned integer
 
  See
 
  Aligning Tagged Expressions
  Microsoft Regular Expression Example
  Microsoft Matching Method
  Predefined Regular Expressions
  UNIX Regular Expression Summary
                                    --
.context @L803b
:z3
:nMicrosoft Regular Expression Example
:l24
                                             Up Contents Index Back
Microsoft Editor
 
  To find the next occurrence of a number (a string of digits) that begins
  with the digit 1 or 2:
 
   1. Execute Arg Arg (arg arg).
 
   2. Type '[12][0-9]*'
 
   3. Execute Psearch (psearch).
 
  Regular expressions are most powerful when they are used together. For
  example, the combination of the wildcard (?) and repeat (*) operators
 
      ?*
 
  matches any string of characters. This expression is useful when it is
  part of a larger expression, such as
 
      B?*ing
 
  which matches any string beginning with 'B' and ending with 'ing'.
                                    --
.context @L803c
:z3
:nMinimal and Maximal Matching Methods
:l34
                                             Up Contents Index Back
Microsoft Editor
 
  The type of Microsoft matching method is significant only when you use a
  find-and-replace command. The matching method refers to the technique
  used to match repeated expressions. For example, does 'a*' match as few
  or as many characters as it can? The answer depends on the matching
  method.
 
  The editor supports two matching methods:
 
     "Minimal matching" matches as few characters as possible to find a
      match. Minimal matching is specified by the '*' and '+' characters.
 
      For example, 'a+' matches only the first character in 'aaaaa'.
      However, 'ba+b' matches the entire string 'baaaab' because it is
      necessary to match every 'a' to match both occurrences of 'b'.
 
     "Maximal matching" matches as many characters as possible. Maximal
      matching is specified by the '@' and '#' characters.
 
      For example, 'a#' matches the entire string 'aaaaaa'.
 
  Example
 
  If 'a+' (minimal matching plus) is the search string and 'EE' is the
  replacement string, the editor replaces 'aaaaa' with 'EEEEEEEEEE'
  because at each occurrence of 'a', the editor immediately replaces it
  with 'EE'.
 
  However, if 'a#' (maximal matching plus) is the search string, the
  editor replaces the same string with 'EE' because it matches the entire
  string 'aaaaa' at once and replaces that string with 'EE'.
                                    --
.context fileparts
.context @L803d
:z3
:nFilename-Parts Syntax
:l46
                                             Up Contents Index Back
Microsoft Editor
 
  The Filename-Parts Syntax is used by the editor to pass the name of the
  current file to external programs or operating-system commands. The
  letters in this syntax are case sensitive.
 
  Syntax
 
  %%   A literal percent sign (%).
 
  %s   The fully qualified path of the current file.
 
       If the current file is a pseudofile, %s specifies the name of a
       temporary disk file created for the external command to operate on.
       The temporary file is destroyed before returning and is never
       accessible to the editor.
 
  %|[d][p][f][e]F
 
       Parts of the current filename.
 
       The parts of the name are drive (d), path (p), base name (f), and
       extension (e). If the current file is a disk file named
       'c:\scratch\test.txt' or the "<compile>" pseudofile, the given
       syntax yields:
 
       Syntax    Disk File               Pseudofile
       
       %|F       c:\scratch\test.txt     <compile>
       %|dF      c:
       %|pF      \scratch
       %|fF      test                    <compile>
       %|eF      .txt
       %|pfF     \scratch\test           <compile>
       %s        c:\scratch\test.txt     c:\tmp\M0000031.r00
       %%        %                       %
 
  Warning: The %|F syntax specifies the name of the current file. For the
           command specified in the Readonly switch, this may not be the
           desired file. Use %s for the Readonly switch.
 
  See
 
  Compile Extmake Readonly Printcmd
                                    --
.context functions
.context @L803e
:z3
:nAlphabetical List of Functions
:l92
                                             Up Contents Index Back
Microsoft Editor Functions (Alphabetical List)
 
  Function       Description                               Key
 
  Arg          Begin a function argument                 arg
  Assign       Define a macro or assign a key            assign
  Backtab      Move to the previous tab stop             backtab
  Begfile      Move to beginning of file                 begfile
  Begline      Move to beginning of line                 begline
  Boxstream    Toggle selection mode                     boxstream
  Cancel       Cancel arguments or current operation     cancel
  Cdelete      Delete character                          cdelete
  Compile      Compile and build                         compile
  Copy         Copy selection to the clipboard           copy
  Curdate      Type today's date (25-Nov-1998)           curdate
  Curday       Type day of week (Tue)                    curday
  Curtime      Type current time (14:12:08)              curtime
  Delete       Delete selection                          delete
  Down         Move down one line                        down
  Emacscdel    Character delete                          emacscdel
  Emacsnewl    Start a new line                          emacsnewl
  Endfile      Move to end of file                       endfile
  Endline      Move to end of line                       endline
  Environment  Set or insert environment variable        environment
  Execute      Execute macros and functions by name      execute
  Exit         Advance to next file or leave the editor  exit
  Graphic      Type character                            
  Home         Move to window corner                     home
  Information  Display list of open files, etc.          information
  Initialize   Reinitialize, or read TOOLS.INI section   initialize
  Insert       Insert spaces or lines, or break line     insert
  Insertmode   Toggle insert/overtype mode               insertmode
  Lastselect   Recover last selection                    lastselect
  Lasttext     Recover last text argument                lasttext
  Ldelete      Delete lines                              ldelete
  Left         Move left                                 left
  Linsert      Insert lines or indent line               linsert
  Mark         Set, clear, or go to mark                 mark
  Message      Display a message or refresh the screen   message
  Meta         Modify the action of a function           meta
  Mgrep        Search across files for text or pattern   mgrep
  Mlines       Scroll down by lines                      mlines
  Mpage        Move up one page                          mpage
  Mpara        Move up one paragraph                     mpara
  Mreplace     Multifile replace with confirmation       mreplace
  Msearch      Search backward for pattern or text       msearch
  Mword        Move back one word                        mword
  Newline      Move to the next line                     newline
  Nextmsg      Go to build message location              nextmsg
  Noedit       Toggle the no-edit restriction            noedit
  Noop         Do nothing (ignore key)                   
  Paste        Insert file or text from clipboard        paste
  Pbal         Balance paired characters                 pbal
  Plines       Scroll up by lines                        plines
  Ppage        Move down one page                        ppage
  Ppara        Move down one paragraph                   ppara
  Print        Print file or selection                   print
  Prompt       Request text argument                     prompt
  Psearch      Search forward for pattern or text        psearch
  Pword        Move forward one word                     pword
  Qreplace     Replace with confirmation                 qreplace
  Quote        Insert literal key                        quote
  Record       Toggle macro recording                    record
  Refresh      Reread or close file                      refresh
  Repeat       Repeat the last editing operation         repeat
  Replace      Replace pattern or text                   replace
  Restcur      Restore saved position                    restcur
  Right        Move right                                right
  Saveall      Save all modified files                   saveall
  Savecur      Save cursor position                      savecur
  Savetmpfile  Save editor TMP file                      savetmpfile
  Sdelete      Delete streams                            sdelete
  Searchall    Highlight occurrences of pattern or text  searchall
  Setfile      Open or change files                      setfile
  Setwindow    Adjust file in window                     setwindow
  Shell        Start a shell or run a system command     shell
  Sinsert      Insert a stream of blanks or break line   sinsert
  Tab          Move to the next tab stop                 tab
  Tell         Show key assignment or macro definition   tell
  Unassigned   Used to remove a function from a key      
  Undo         Undo and redo editing operations          undo
  Up           Move up                                   up
  Window       Move to next or previous window           window
 
  Macro          Description                               Key
 
  Curfile      Type base name of current file            curfile
  Curfilenam   Type Full name of current file            curfilenam
  Curfileext   Type extension of current file            curfileext
  Helpnl       Display "Online Help Not Loaded" message  helpnl
                                    --
.context meqref
.context @L803f
:z3
:nFunction Quick Summary
:l37
                                             Up Contents Index Back
Quick Summary of Microsoft Editor Commands
 
  Description                   Function      Keys
 
  Begin a function argument     Arg         arg
  Modify a command              Meta        meta
  Undo last edit                Undo        undo
  Redo last edit                Undo        meta undo
  Cancel current command        Cancel      cancel
 
  Exit with saving              Exit        exit
  Exit without saving           Exit        meta exit
  Save without exit             Setfile     arg arg setfile
  Discard last edits            Refresh     refresh
  Merge a file                  Paste       arg arg file paste
  Open a file                   Setfile     arg file setfile
 
  Move forward a word           Pword       pword
  Move backward a word          Mword       mword
  Move forward a paragraph      Ppara       ppara
  Move backward a paragraph     Mpara       mpara
 
  Forward search                Psearch     psearch
  Backward search               Msearch     msearch
  Search & replace              Replace     replace
  Search & replace with query   Qreplace    qreplace
 
  Scroll window up one line     Mlines      mlines
  Scroll window down one line   Plines      plines
 
  Split window horizontally     Window      arg window
  Split window vertically       Window      arg arg window
 
  Close active window           Window      meta window
  Move between windows          Window      window
                                    --
.context mecomm
.context @L8040
:z3
:nCommand Manipulation
:l22
                                             Up Contents Index Back
Microsoft Editor Command Manipulation
 
  Description                          Function     Key
 
  Begin a function argument            Arg          arg
  Turn on the Meta command prefix      Meta         meta
  Cancel current argument              Cancel       cancel
 
  Recall the last selection            Lastselect   lastselect
  Recall the last text argument        Lasttext     lasttext
 
  Type the next character literally    Quote        quote
  Reverse the last edit                Undo         undo
  Toggle between box and stream mode   Boxstream    boxstream
 
  Assign a key or define a macro       Assign       assign
  Execute command or macro list        Execute      execute
  Toggle macro recording               Record       Record
  Display key or macro assignment      Tell         tell
  Display or clear status bar          Message      message
                                    --
.context mefil
.context @L8041
:z3
:nFile Operations
:l16
                                             Up Contents Index Back
Microsoft Editor File Operations
 
  Description                         Function      Key
 
  Save the file or open a new file    Setfile     setfile
  Reread the file, discarding edits   Refresh     refresh
 
  Merge a file or program output      Paste       paste
  Print all or part of file           Print       print
  Save all modified files             Saveall     saveall
 
  Exit with or without saving         Exit        exit
 
  Toggle no-edit state of file        Noedit      noedit
                                    --
.context mecur
.context @L8042
:z3
:nCursor Movements
:l31
                                             Up Contents Index Back
Microsoft Editor Cursor Movement
 
  Description                        Function      Key
 
  Move left one character            Left       left
  Move right one character           Right      right
 
  Move up one line                   Up         up
  Move down one line                 Down       down
  Move to beginning of next line     Newline    newline
 
  Move to first character in line    Begline    begline
  Move past last character in line   Endline    endline
  Move left one tab stop             Backtab    backtab
  Move right one tab stop            Tab        tab
 
  Move back by paragraphs            Mpara      mpara
  Move forward by paragraphs         Ppara      ppara
 
  Move back by words                 Mword      mword
  Move forward by words              Pword      pword
 
  Move back by pages                 Mpage      mpage
  Move forward by pages              Ppage      ppage
 
  Move to upper-left corner          Home       home
 
  Move to top of file                Begfile    begfile
  Move to end of file                Endfile    endfile
                                    --
.context megoto
.context @L8043
:z3
:nGoto/Mark Functions
:l12
                                             Up Contents Index Back
Microsoft Editor Goto Mark Functions
 
  Description                    Function     Key
 
  Define or move to mark         Mark       mark
 
  Go to a specific line number   Mark       arg line mark
 
  Restore saved cursor position  Restcur    restcur
  Save cursor position           Savecur    savecur
                                    --
.context meinsdel
.context @L8044
:z3
:nInsert/Delete Functions
:l28
                                             Up Contents Index Back
Microsoft Editor Insert/Delete Functions
 
  Description                                Function      Key
 
  Copy line or selection to the clipboard    Copy        Copy
  Insert text from the clipboard             Paste       Paste
 
  Start new line, breaking current line      Emacsnewl   Emacsnewl
 
  Delete selection                           Delete      Delete
  Delete box or lines                        Ldelete     Ldelete
  Delete stream of text                      Sdelete     Sdelete
  Delete character to left, no line breaks   Cdelete     Cdelete
  Delete character to left, with line break  Emacscdel   Emacsdel
 
  Insert spaces into selection               Insert      Insert
  Insert spaces in box or lines              Linsert     Linsert
  Insert spaces into stream selection        Sinsert     Sinsert
 
  Type current file's filename               Curfile     Curfile
  Type current file's base name              Curfilenam  Curfilenam
  Type current file's extension              Curfileext  Curfileext
 
  Type date (1-Apr-1999)                     Curdate     Curdate
  Type day  (Mon ... Fri)                    Curday      Curday
  Type time (08:51:57)                       Curtime     Curtime
                                    --
.context meprog
.context @L8045
:z3
:nProgramming/Compile Functions
:l11
                                             Up Contents Index Back
Microsoft Editor Programming & Compile Functions
 
  Description                   Function       Key
 
  Compile or spawn a command    Compile      Compile
 
  Go to next message            Nextmsg      Nextmsg
 
  Balance parens and brackets   Pbal         Pbal
                                    --
.context mesr
.context @L8046
:z3
:nFind and Replace Functions
:l15
                                             Up Contents Index Back
Microsoft Editor Find and Replace Functions
 
  Description                     Function        Key
 
  Search forward                  Psearch       psearch
  Search backward                 Msearch       msearch
  Highlight all matching strings  Searchall     searchall
 
  Replace with confirmation       Qreplace      qreplace
  Replace without confirmation    Replace       replace
 
  Search a list of files          Mgrep         mgrep
  Replace over a list of files    Mreplace      mreplace
                                    --
.context mespec
.context @L8047
:z3
:nSpecial Insert Functions
:l15
                                             Up Contents Index Back
Microsoft Editor Special Insert Functions
 
  Description                       Function        Key
 
  Insert current date               Curdate       Curdate
  Insert current day                Curday        Curday
  Insert current time               Curtime       Curtime
 
  Insert name of current file       Curfile       Curfile
  Insert extension of current file  Curfileext    Curfileext
  Insert base name of current file  Curfilenam    Curfilenam
 
  Set or insert environment vars    Environment   environment
                                    --
.context windowfunc
.context @L8048
:z3
:nWindow Functions
:l10
                                             Up Contents Index Back
Microsoft Editor Window Functions
 
  Description                               Function     Key
 
  Scroll window back by lines               Mlines     mlines
  Scroll window forward by lines            Plines     plines
  Redisplays window                         Setwindow  setwindow
  Create, remove, or move between windows   Window     window
                                    --
.context Arg
.context @L8049
:z3
:nArg Function
:l52
                                             Up Contents Index Back
Microsoft Editor
 
  Arg (Arg)
 
  Begin an argument to a function or begin a selection.
 
  After you execute Arg, the editor displays 'Arg[1]' on the status bar.
  Each time you execute Arg, the editor increments the Arg count. Editor
  functions perform variations of their action depending on the Arg count
  and the "Meta state". You can use the Meta and Arg function prefixes in
  any order.
  See: Meta
 
  To select text:
 
    1. Execute Arg (Arg).
 
    2. Use the cursor-movement functions to select the desired text.
 
       The resulting argument can be a boxarg, linearg, or streamarg,
       according to the current selection mode and the function used to
       operate on the selection.
 
    3. Execute a function to operate on the selected text.
 
 
  To create a text argument (a textarg):
 
    1. Execute Arg (Arg).
 
    2. Type the text of the argument.
 
    3. Execute a function to operate on the selected text.
 
 
  To cancel an argument or selection:
 
      Execute Cancel (cancel)
 
  TIP: To "pick up" text and modify it to use as a textarg, select text
       then use Lasttext (Lasttext) to turn it into a textarg. You can
       modify the selected text without modifying the file.
 
  Returns
 
  The return value of Arg cannot be tested.
 
  See
 
  Meta Lasttext Lastselect
                                    --
.context Assign
.context @L804a
:z3
:nAssign Function
:l36
                                             Up Contents Index Back
Microsoft Editor
 
  Assign (Assign)
 
  Assigns a function to a keystroke, defines a macro, or sets a switch.
  You can also assign keys and set switches by using the <assign>
  pseudofile.
 
  To see the current assignment for a key or the definition of a macro,
  use the Tell function (tell).
  See: Tell
 
  Assign
 
      Defines a macro or assigns a key for the text on the current line.
 
  Arg Assign
 
      Defines a macro or assigns a key for the text from the cursor to the
      end of the line.
 
  Arg <boxarg> | <linearg> | <textarg> Assign
 
      Defines a macro or assigns a key for the specified text.
 
  Arg ? Assign
 
      Displays the current key assignments and switch settings in the
      <assign> pseudofile.
 
  Returns
 
  True:  Assignment successful
  False: Assignment invalid
                                    --
.context Backtab
.context @L804b
:z3
:nBacktab Function
:l22
                                             Up Contents Index Back
Microsoft Editor
 
  Backtab (Backtab)
 
  Moves the cursor to the previous tab stop. Tab stops are defined to be
  every nth character, where n is defined by the Tabstops switch.
 
  Returns
 
  True:  Cursor moved
  False: Cursor is at left margin
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
                                    --
.context Begfile
.context @L804c
:z3
:nBegfile Function
:l17
                                             Up Contents Index Back
Microsoft Editor
 
  Begfile (Begfile)
 
  Moves the cursor to the beginning of the file.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; the cursor is already at the beginning of the
         file
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
                                    --
.context Begline
.context @L804d
:z3
:nBegline Function
:l22
 Macro Example                             Up Contents Index Back
Microsoft Editor
 
  Begline (Begline)
 
  Begline
 
     Moves the cursor to the first nonblank character on the line.
 
  Meta Begline
 
     Moves the cursor to column one on the line.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; the cursor is already at the destination
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
                                    --
.context @L804e
:z3
:nBegline Macro Example
:l32
 Description                               Up Contents Index Back
Microsoft Editor
 
  The following macro moves the cursor to column one, then toggles between
  column one and the first nonblank character on the line.
 
      toggle_begline := Left ->x Meta :>x Begline
 
  The result of the Left function is tested to determine if the cursor is
  already in column one. If the cursor is in column one, the editor skips
  the Meta and executes Begline to move to the first nonblank character.
  If the cursor is not in column one, the editor executes Meta Begline to
  move there.
 
  Example
 
  This macro mimics the behavior of the BRIEF HOME key:
 
      bhome:= Meta Begline +> Home +> Begfile
 
  The result of Meta Begline (go to column 1 on the line) is tested to
  determine if the cursor moved. If the cursor moved, the test ('+>')
  succeeds and the macro exits. If the cursor did not move, the cursor is
  already in column 1, so the macro advances to the home position with
  Home. If the cursor did not move going to the home position, the macro
  advances to the beginning of the file with Begfile.
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
  Meta
                                    --
.context Boxstream
.context @L804f
:z3
:nBoxstream Function
:l18
                                             Up Contents Index Back
Microsoft Editor
 
  Boxstream (Boxstream)
 
  Toggles between box selection mode and stream selection mode.
 
  Returns
 
  True:  New mode is stream selection mode
  False: New mode is box selection mode
 
  See
 
  Enterboxmode
  Selection Modes (Defined)
  Selection Modes (Setting)
                                    --
.context Cancel
.context @L8050
:z3
:nCancel Function
:l17
                                             Up Contents Index Back
Microsoft Editor
 
  Cancel (Cancel)
 
  Cancels the current selection, argument, or operation. If a message
  appears on the status bar, the Cancel function restores the original
  contents of the status bar.
 
  Returns
 
  Cancel always returns true.
 
  See
 
  Arg Meta
                                    --
.context Cdelete
.context @L8051
:z3
:nCdelete Function
:l28
                                             Up Contents Index Back
Microsoft Editor
 
  Cdelete (Cdelete)
 
  Deletes the previous character, excluding line breaks. If the cursor is
  in column 1, Cdelete moves the cursor to the end of the previous line.
 
  In insert mode, Cdelete deletes the previous character, reducing the
  line length by 1.
 
  In overtype mode, Cdelete deletes the previous character and replaces it
  with a space character. If the cursor is beyond the end of the line, the
  cursor moves to the immediate right of the last character on the line.
 
  Emacscdel is similar to Cdelete. However, in insert mode, Emacscdel
  deletes line breaks; in overtype mode beyond the end of the line, it
  does not automatically move to the end of the line.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved
 
  See
 
  Delete Emacscdel Ldelete Sdelete
                                    --
.context Compile
.context @L8052
:z3
:nCompile Function
:l39
                                             Up Contents Index Back
Microsoft Editor
 
  Compile (Compile)
 
  Compile
 
     Displays status of the current compile (if any) on the status bar.
 
  Arg Compile
 
     Runs the Extmake setting for the current file.
 
     The command and arguments used to compile the file are specified by the
     Extmake switch according to the extension of the file.
 
  Arg <textarg> Compile
 
     Runs the Extmake setting for <textarg>, where <textarg> is considered
     the current file name, replacing %s in the specified command.
     See: Extmake
 
  Arg Arg <textarg> Compile
 
     Runs the specified text as a program.
 
     The program is assumed to display errors in the format:
 
     <file> <row> <col> <message>
 
  Arg Meta Compile
 
     Stops a background compile after prompting for confirmation.
 
  Returns
 
  True:  Operation successfully initiated
  False: Operation not initiated
                                    --
.context Copy
.context @L8053
:z3
:nCopy Function
:l37
                                             Up Contents Index Back
Microsoft Editor
 
  Copy (Copy)
 
  Copy
 
     Copies the line at the cursor to the clipboard.
 
  Arg Copy
 
     Copies text from the cursor to the end of the line. The line break
     is not copied.
 
  Arg <boxarg> | <streamarg> | <linearg> | <textarg> Copy
 
     Copies the specified text.
 
  Arg <numarg> Copy
 
     Copies the specified number of lines, starting at the cursor.
 
  Arg <mark> Copy
 
     Copies the range of text from the cursor to the mark.
 
     In box selection mode, the text is treated as a <boxarg> or <linearg>
     depending on the relative positions of the cursor and the mark.
 
  Returns
 
  Copy always returns true.
 
  See
 
  Delete Ldelete Sdelete Paste
                                    --
.context Curdate
.context @L8054
:z3
:nCurdate Function
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Curdate (Curdate)
 
  Types the date in the format: 28-Nov-1988.
 
  Returns
 
  True:  Date typed
  False: Typing the date would make the line too long
 
  See
 
  Curday Curfile Curfilenam Curfileext Curtime
                                    --
.context Curday
.context @L8055
:z3
:nCurday Function
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Curday (Curday)
 
  Types the day in the format: Sun ... Sat.
 
  Returns
 
  True:  Day typed
  False: Typing the day would make the line too long
 
  See
 
  Curdate Curfile Curfilenam Curfileext Curtime
                                    --
.context Curtime
.context @L8056
:z3
:nCurtime Function
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Curtime (Curtime)
 
  Types the current time in the format of 13:45:55.
 
  Returns
 
  True:  Time typed
  False: Typing the time would make the line too long
 
  See
 
  Curdate Curday Curfile Curfilenam Curfileext
                                    --
.context Delete
.context @L8057
:z3
:nDelete Function
:l33
                                             Up Contents Index Back
Microsoft Editor
 
  Delete (delete)
 
  Delete
 
      Deletes the single character at the cursor, excluding line breaks.
      It does not copy the deleted character to the clipboard.
 
  Arg Delete
 
      Deletes from the cursor to the end of the line. The deleted text is
      copied to the clipboard. In stream selection mode, the deletion
      includes the line break and joins the current line to the next line.
 
  Arg <boxarg>  <linearg>  <streamarg> Delete
 
      Deletes the selected text. The text is copied to the clipboard.
 
  Meta ... Delete
 
      As above but discards the deleted text. The contents of the
      clipboard are not changed.
 
  Returns
 
  Delete always returns true.
 
  See
 
  Selection Modes (Defined)
                                    --
.context Down
.context @L8058
:z3
:nDown Function
:l26
                                             Up Contents Index Back
Microsoft Editor
 
  Down (down)
 
  Down
 
      Moves the cursor down one line. If a selection has been started, it
      is extended by one line. If this movement results in the cursor
      moving out of the window, the window is adjusted downward as
      specified by the Vscroll switch.
 
  Meta Down
 
      Moves the cursor to the bottom of the window without changing the
      column position.
 
  Returns
 
  True:  Cursor moved
  False: Cursor did not move; the cursor is at the destination
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
                                    --
.context Emacscdel
.context @L8059
:z3
:nEmacscdel Function
:l30
                                             Up Contents Index Back
Microsoft Editor
 
  Emacscdel (emacscdel)
 
  Deletes the previous character. If the cursor is in column 1, Emacscdel
  moves the cursor to the end of the previous line.
 
  In insert mode, Emacscdel deletes the previous character, reducing the
  length of the line by 1. If the cursor is in column one, Emacscdel
  deletes the line break, joining the current line to the previous line.
 
  In overtype mode, Emacscdel deletes the previous character and replaces
  it with a space character. If the cursor is in column 1, Emacscdel moves
  the cursor to the end of the previous line and does not delete the line
  break.
 
  Emacscdel is similar to Cdelete, but Cdelete never deletes line breaks;
  in overtype mode beyond the end of the line, Cdelete automatically moves
  to the end of the line.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved
 
  See
 
  Cdelete Delete Ldelete Sdelete
                                    --
.context Emacsnewl
.context @L805a
:z3
:nEmacsnewl Function
:l19
                                             Up Contents Index Back
Microsoft Editor
 
  Emacsnewl (emacsnewl)
 
  In insert mode, starts a new line. In overtype mode, moves the cursor to
  the beginning of the next line.
 
  The editor automatically positions the cursor on the new line, depending
  on the setting of the Softcr switch.
 
  Returns
 
  Emacsnewl always returns True.
 
  See
 
  Newline Softcr
                                    --
.context Endfile
.context @L805b
:z3
:nEndfile Function
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Endfile (Endfile)
 
  Moves the cursor to the end of the file.
 
  Returns
 
  True:  Cursor moved
  False: Cursor did not move; the cursor is at the end of the file
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
                                    --
.context Endline
.context @L805c
:z3
:nEndline Function
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Endline (endline)
 
  Endline
 
      Moves the cursor to the immediate right of the last character on the
      line.
 
  Meta Endline
 
      Moves the cursor to the column that is one column past the active
      window width.
 
  Returns
 
  True:  Cursor moved
  False: Cursor did not move; the cursor is at the destination
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
  Traildisp Trailspace
                                    --
.context Environment
.context @L805d
:z3
:nEnvironment Function
:l57
                                             Up Contents Index Back
Microsoft Editor
 
  Environment (Environment)
 
  Environment
 
     Executes the current line as an environment-variable setting. For
     example, assume the current line contains the following text:
 
          PATH=C:\UTIL;C:\DOS
 
     The editor adds this setting to the environment.
 
     This function is equivalent to the system's SET command. The setting
     lasts for the session, but it is lost when you exit the editor.
 
  Arg <textarg> Environment
 
     Executes the text argument as an environment-variable setting.
 
  Arg ? Environment
 
     Displays all environment-variable settings in the <ENVIRONMENT>
     pseudofile.
 
  Arg <linearg> | <boxarg> | <streamarg> Environment
 
     Executes each selected line or line fragment as an environment-
     variable setting.
 
  Meta Environment
 
     Performs "mappings" on variables found on the current line.
 
     When a variable appears with the syntax:
 
         $(VAR)
 
     the editor replaces the variable with the corresponding value.
 
     For example, if PATH is set to C:\BIN, the editor replaces each
     occurence of the text $(PATH) with the text C:\BIN.
 
  Meta Arg Environment
 
     Maps the text from the cursor to the end of the line.
 
  Meta Arg ... Environment
 
     Maps the selected text.
 
  Returns
 
  True:  Environment variable successfully set or substituted
  False: Syntax error or line too long
                                    --
.context Execute
.context @L805e
:z3
:nExecute Function
:l31
                                             Up Contents Index Back
Microsoft Editor
 
  Execute (execute)
 
  The Execute function executes functions and macros by name. It allows
  you to execute commands that are not assigned to a key or execute a
  sequence of commands in one step.
 
  The Execute function executes the commands by the same rules as macros.
  Function prompts are suppressed, and you can use the macro flow-control
  and macro prompt directives. You do not need to define a macro to use
  these features.
 
  Arg Execute
 
      Executes the text from the cursor to the end of the line as a macro.
 
  Arg <linearg>  <textarg> Execute
 
      Executes the specified text as a macro.
 
  Returns
 
  True:  Last executed function returned true
  False: Last executed function returned false
 
  See
 
  Macros
                                    --
.context Exit
.context @L805f
:z3
:nExit Function
:l39
                                             Up Contents Index Back
Microsoft Editor
 
  Exit (exit)
 
  Exit
 
      If you specified multiple files on the command line, the editor
      advances to the next file. Otherwise, it quits and returns control
      to the operating system.
 
      If the Autosave switch is set to Yes, the file is saved if it has
      been modified. If Autosave is No and the file is modified, the
      editor prompts for confirmation to save the file.
 
  Meta Exit
 
      Performs like Exit with the Autosave switch set to No, independent
      of the current setting of Autosave. If you have changed any files,
      the editor asks for confirmation to save before exiting.
 
  Arg Exit
 
      Like Exit, except the editor quits immediately without advancing to
      the next file (if any).
 
  Arg Meta Exit
 
      Like Meta Exit, except the editor quits immediately without
      advancing to the next file.
 
  Returns
 
  Exit has no return value.
 
  See
 
  Autosave
                                    --
.context Graphic
.context @L8060
:z3
:nGraphic Function
:l19
                                             Up Contents Index Back
Microsoft Editor
 
  Graphic (assigned to most alphanumeric and punctuation keys)
 
  Types the character corresponding to the key that you pressed.
 
  To make a key type the corresponding character (the TAB key, for
  example), assign the key to the Graphic function.
 
  Returns
 
  True:  The character is typed
  False: Typing the character would make the line too long
 
  See
 
  Assign Quote
                                    --
.context Helpnl
.context @L8061
:z3
:nHelpnl Macro
:l12
                                             Up Contents Index Back
Microsoft Editor
 
  Helpnl (Helpnl)
 
  The Helpnl macro displays the message:
 
      Online Help Not Loaded
 
  The standard Help keys are assigned to this macro when the Help
  extension is not loaded.
                                    --
.context Home
.context @L8062
:z3
:nHome Function
:l23
                                             Up Contents Index Back
Microsoft Editor
 
  Home (home)
 
  Home
 
      Places the cursor in the upper-left corner of the window.
 
  Meta Home
 
      Places the cursor in the lower-right corner of the window.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; it is already at the destination
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
  Begline Macro Example
                                    --
.context Information
.context @L8063
:z3
:nInformation Function
:l17
                                             Up Contents Index Back
Microsoft Editor
 
  Information (Information)
 
  Opens the <information> pseudofile that contains a list of all files in
  memory along with the current set of files that you have edited.
 
  The size of this list is controlled by the Tmpsav switch, which has a
  default value of 20.
 
  See
 
  Environment
 
  Configuring the Editor With the <assign> File
                                    --
.context Initialize
.context @L8064
:z3
:nInitialize Function
:l43
                                             Up Contents Index Back
Microsoft Editor
 
  Initialize (initialize)
 
  Initialize
 
      Discards all current settings, including extension settings, then
      reads the statements from the main ([MEP]) section of TOOLS.INI.
 
  Arg Initialize
 
      Reads the statements from a tagged section of TOOLS.INI. The tag
      name is specified by the continuous string of nonblank characters
      starting at the cursor.
 
  Arg <textarg> Initialize
 
      Reads the statements from the TOOLS.INI tagged section specified by
      <textarg>.
 
      The section tagged with
 
           [MEP-name]
 
      is initialized by the command
 
           Arg 'name' Initialize
 
  TIP: To reload the main section of TOOLS.INI without clearing other
       settings that you want to remain in effect, label the main section
       of TOOLS.INI with the tag:
 
           [MEP MEP-main]
 
       then use Arg 'main' Initialize to recover your main settings
       instead of using Initialize with no arguments.
 
  Returns
 
  True:  Initialized tagged section in TOOLS.INI
  False: Did not find tagged section in TOOLS.INI
                                    --
.context Insert
.context @L8065
:z3
:nInsert Function
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  Insert (Insert)
 
  Insert
 
      Inserts one space character at the cursor, independent of the
      insert/overtype mode.
 
  Arg Insert (arg insert)
 
      Breaks the line at the cursor.
 
  Arg <boxarg>  <linearg>  <streamarg> Insert
 
      Inserts space characters into the selected area.
 
  Returns
 
  True:  Spaces or line break inserted
  False: Insertion would make a line too long
 
  See
 
  Sinsert Linsert
                                    --
.context Insertmode
.context @L8066
:z3
:nInsertmode Function
:l23
                                             Up Contents Index Back
Microsoft Editor
 
  Insertmode (insertmode)
 
  Toggles between insert mode and overtype mode. When insert mode is on,
  the text "(insert)" appears on the status bar.
 
  In insert mode, each character you type is inserted at the cursor. This
  insertion shifts the remainder of the line one position to the right.
 
  In overtype mode, the character you type replaces the character at the
  cursor.
 
  Returns
 
  True:  The editor is in insert mode
  False: The editor is in overtype mode
 
  See
 
  Enterinsmode
                                    --
.context Lastselect
.context @L8067
:z3
:nLastselect Function
:l22
                                             Up Contents Index Back
Microsoft Editor
 
  Lastselect (Lastselect)
 
  Duplicates the last selection.
 
  The re-created selection uses the same pair of line:column coordinates
  as the previous selection. Thus, different text can be selected if you
  have made additions or deletions to the file since the last selection,
  or you have changed the selection mode.
 
  The Arg count and Meta state that were previously in effect are not
  duplicatedonly the selection. The new Arg count is one, and the Meta
  state is the current Meta state. To use a higher Arg count, execute Arg
  (arg). To toggle the Meta state, execute Meta (meta).
 
  See
 
  Arg Lasttext Meta
  Selection Modes (Defined)
                                    --
.context Lasttext
.context @L8068
:z3
:nLasttext Function
:l33
 Example                                   Up Contents Index Back
Microsoft Editor
 
  Lasttext (lasttext)
 
  Lasttext
 
      Displays the last text argument (textarg) on the prompt line. You
      can edit the text and then execute any function that accepts a text
      argument, or you can cancel the argument.
 
      If you edit the text and then cancel, the editor retains the
      modified text. Thus, when you execute Lasttext again, the new text
      appears.
 
  Arg [Arg]... [Meta] Lasttext
 
      Displays the last text argument with the specified Arg count and
      Meta state.
 
  Arg [Arg]... <linearg>  <boxarg>  <streamarg> [Meta] Lasttext
 
      Displays the first line of the selection with the specified Arg
      count and Meta state.
 
  Returns
 
  The return value of Lasttext cannot be tested.
 
  See
 
  Arg Lastselect Meta Prompt
                                    --
.context @L8069
:z3
:nLasttext Macro Example
:l31
 Description                               Up Contents Index Back
Microsoft Editor
 
  The OpenInclude macro that follows opens an include file named in the
  next #include directive. The macro demonstrates a technique using the
  Lasttext function to pick up text from the file and modify it without
  modifying the file or the clipboard.
 
  OpenInclude :=  \
          up meta begline arg arg "^[ \t]*#[ \t]*include" psearch ->  \
          arg arg "[<>\"]" psearch -> right arg pword meta pword       \
          lasttext begline "$INCLUDE:" setfile <n +>          \
          lastselect setfile <
 
  In the fourth line, Lasttext pulls the selected filename onto the prompt
  line. The text argument is modified to prepend "$INCLUDE:" before
  passing it to the Setfile function.
 
  General Macro Usage
 
  In some macro-programming situations, you don't want to use the text
  immediately. Instead, you need to pick up some text, do some other
  processing, then use the text. In this situation, use the phrase:
 
     (make selection) Lasttext Cancel ...
 
  This picks up the text, then cancels the argument. The selected text
  remains in the Lasttext buffer for later use. To reuse the text, call
  Lasttext again. This sequence does not modify any files or the
  clipboard.
                                    --
.context Ldelete
.context @L806a
:z3
:nLdelete Function
:l46
                                             Up Contents Index Back
Microsoft Editor
 
  Ldelete (ldelete)
 
  Ldelete
 
      Deletes the line at the cursor and copies it to the clipboard.
 
  Arg Ldelete
 
      Deletes text from the cursor to the end of the line and copies it to
      the clipboard.
 
  Arg mark Ldelete
 
      Deletes the text from the line at the cursor to the line specified
      by <mark> and copies it to the clipboard. The mark cannot be a line
      number.
 
  Arg number Ldelete
 
      Deletes the specified number of lines starting from the line at the
      cursor and copies them to the clipboard.
 
  Arg <boxarg>  <linearg> Ldelete
 
      Deletes the specified text and copies it to the clipboard. The
      argument is a <linearg> or <boxarg> regardless of the current
      selection mode. The argument is a <linearg> if the starting and
      ending points are in the same column.
 
  Meta ... Ldelete (meta ... ldelete)
 
      As above but discards the deleted text. The clipboard is not
      changed.
 
  Returns
 
  Ldelete always returns true.
 
  See
 
  Cdelete Delete Emacscdel Sdelete
  Selection Modes (Defined)
                                    --
.context Left
.context @L806b
:z3
:nLeft Function
:l26
                                             Up Contents Index Back
Microsoft Editor
 
  Left (left)
 
  Left
 
      Moves the cursor one character to the left.
 
      If this movement results in the cursor moving out of the window, the
      window is adjusted to the left as specified by the Hscroll switch.
 
  Meta Left
 
      Moves the cursor to the first column in the window.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; the cursor is in column one
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
  Hscroll
                                    --
.context Linsert
.context @L806c
:z3
:nLinsert Function
:l37
 Macro Example                             Up Contents Index Back
Microsoft Editor
 
  Linsert (linsert)
 
  Linsert
 
      Inserts one blank line above the current line.
 
  Arg Linsert
 
      Inserts or deletes blanks at the beginning of a line to move the
      first nonblank character to the cursor.
 
  Arg <boxarg>  <linearg> Linsert
 
      Inserts blanks within the specified area.
 
      The argument is a linearg or boxarg regardless of the current
      selection mode. The argument is a linearg if the starting and ending
      points are in the same column.
 
  Arg <mark> Linsert
 
      Like <boxarg>  <linearg> except the specified area is given by the
      cursor position and the position of the specified mark. The <mark>
      argument must be a named mark: it cannot be a line number.
      See: Mark
 
  Returns
 
  Linsert always returns true.
 
  See
 
  Insert Sinsert
                                    --
.context @L806d
:z3
:nLinsert Macro Example
:l15
 Description                               Up Contents Index Back
Microsoft Editor
 
  If paragraphs in your file consist of a sequence of lines beginning in
  the same column and are separated from other paragraphs by at least one
  blank line, the following macro indents a paragraph to the next tab
  stop:
 
      para_indent:=meta mpara down begline arg   \
                   meta ppara up begline tab linsert
 
  This macro creates a selection from the beginning of the paragraph to
  the end, one tab stop wide. The Linsert function inserts spaces in the
  selection.
                                    --
.context Mark
.context @L806e
:z3
:nMark Function
:l50
                                             Up Contents Index Back
Microsoft Editor
 
  Mark (Mark)
 
  The Mark function moves the cursor to a mark or specific location,
  defines marks, and deletes marks.
 
  If you want to save marks between sessions, assign a filename to the
  Markfile switch.
 
  Mark
 
     Moves the cursor to the beginning of the file.
 
  Arg Mark
 
      Restores the cursor to its location prior to the last window scroll.
 
      TIP: Use Arg Mark to return to your previous location after a search
           or other large jump.
 
  Arg <number> Mark
 
      Moves the cursor to the beginning of the line specified by <number>
      in the current file. Line numbering starts at 1.
 
  Arg <textarg> Mark
 
      Moves the cursor to the specified mark.
 
  Arg Arg <textarg> Mark
 
      Defines a mark at the cursor. The name of the mark is specified by
      <textarg>.
 
  Arg Arg <textarg> Meta Mark
 
      Deletes the specified mark. This form of the Mark function always
      returns true.
 
  Returns
 
  True:  Move, definition, or deletion successful
  False: Invalid argument or mark not found
 
  See
 
  Markfile Restcur Savecur
                                    --
.context Message
.context @L806f
:z3
:nMessage Function
:l30
 Macro Example                             Up Contents Index Back
Microsoft Editor
 
  Message (message)
 
  Message
 
      Clears the status bar.
 
  Arg Message
 
      Displays the text from the cursor to the end of the line on the
      status bar.
 
  Arg <textarg> Message
 
      Displays <textarg> on the status bar.
 
  Meta ... Message
 
      As above and also repaints the screen.
 
  Returns
 
  Message always returns true.
 
  See
 
  Prompt
                                    --
.context @L8070
:z3
:nMessage Macro Example
:l16
 Description                               Up Contents Index Back
Microsoft Editor
 
  The following macro is useful when writing new macros (the '!' is the
  macro name):
 
      ! := Meta Message
 
  With this definition you can place an exclamation point in your macros
  wherever you want a screen update.
 
  If you also want to display a status-bar message at the time of the
  update, use the phrase:
 
      ... arg "<text of message>" ! ...
                                    --
.context Meta
.context @L8071
:z3
:nMeta Function
:l22
                                             Up Contents Index Back
Microsoft Editor
 
  Meta (Meta)
 
  Modifies the action of the function it is used with. Refer to the
  individual functions for specific information.
 
  You can use the Meta and Arg function prefixes in any order.
 
  When the Meta state is turned on, the word 'Meta' appears in the status
  bar.
 
  Returns
 
  True:  Meta state turned on
  False: Meta state turned off
 
  See
 
  Arg Lasttext Lastselect
                                    --
.context Mgrep
.context @L8072
:z3
:nMgrep Function
:l48
                                             Up Contents Index Back
Microsoft Editor
 
  Mgrep (Mgrep)
 
  The Mgrep function searches all the files listed in the Mgreplist macro.
  The editor places all matches in the <compile> pseudofile. The editor
  performs the search in the background.
 
  To browse the list of matches, use Nextmsg (Nextmsg).
 
  Mgrep
 
      Searches for the previously searched string or pattern.
 
  Arg Mgrep
 
      Searches for the string specified by the characters from the cursor
      to the first blank character.
 
  Arg <textarg> Mgrep
 
      Searches for <textarg>.
 
  Arg Arg Mgrep
 
      Searches for the regular expression specified by the characters from
      the cursor to the first blank character.
 
  Arg Arg <textarg> Mgrep
 
      Searches for the regular expression specified by <textarg>.
 
  Meta ... Mgrep
 
      As above except that the value of the Case switch is reversed for
      the search.
 
  Returns
 
  True:  A background search was successfully initiated
  False: No search pattern specified or search pattern invalid
 
  See
 
  Case Mgreplist Nextmsg
  Regular Expression
                                    --
.context Mlines
.context @L8073
:z3
:nMlines Function
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  Mlines (Mlines)
 
  Mlines
 
      Scrolls the window down once as specified by the Vscroll switch.
 
  Arg Mlines
 
      Scrolls the window such that the line at the cursor is moved to the
      bottom of the window.
 
  Arg <number> Mlines
 
      Scrolls the window down by <number> lines.
 
  Returns
 
  True:  Window scrolled
  False: Invalid argument
 
  See
 
  Plines Vscroll
                                    --
.context Mpage
.context @L8074
:z3
:nMpage Function
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Mpage (Mpage)
 
  Moves the cursor backward in the file by one window.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved
 
  See
 
  Ppage
                                    --
.context Mpara
.context @L8075
:z3
:nMpara Function
:l26
                                             Up Contents Index Back
Microsoft Editor
 
  Mpara (Mpara)
 
  Mpara
 
      Moves the cursor to the beginning of the first line of the current
      paragraph. If the cursor is already on the first line of the
      paragraph, it is moved to the begininng of the first line of the
      preceding paragraph.
 
  Meta Mpara
 
      Moves the cursor to the first blank line preceding the current
      paragraph.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; no more paragraphs in the file
 
  See
 
  Ppara
                                    --
.context Mreplace
.context @L8076
:z3
:nMreplace Function
:l32
                                             Up Contents Index Back
Microsoft Editor
 
  Mreplace (Mreplace)
 
  Mreplace
 
      Performs a find-and-replace operation across multiple files,
      prompting for the find-and-replacement strings and for confirmation
      at each occurrence. Mreplace searches all the files listed in the
      special macro Mgreplist.
 
  Arg Arg Mreplace (arg arg mreplace)
 
      As for Mreplace but uses regular expressions.
 
  Meta ... Mreplace (Meta ... Mreplace)
 
      As above except reverses the sense of the Case switch for the
      operation.
 
  Returns
 
  True:  At least one replacement made
  False: No replacements made or operation aborted
 
  See
 
  Case
  Mgrep Qreplace Replace
  Regular Expressions
                                    --
.context Msearch
.context @L8077
:z3
:nMsearch Function
:l37
                                             Up Contents Index Back
Microsoft Editor
 
  Msearch (Msearch)
 
  Msearch
 
     Searches backward for the previously searched string or pattern.
 
  Arg Msearch
 
     Searches backward in the file for the text from the cursor to the
     first blank character.
 
  Arg <textarg> Msearch
 
     Searches backward for the specified text.
 
  Arg Arg ... Msearch
 
     As above except finds the specified regular expression.
 
  Meta ... Msearch
 
     As above except the value of the Case switch is temporarily reversed.
 
  Returns
 
  True:  String found
  False: Invalid argument, or string not found
 
  See
 
  Case
  Mgrep Psearch
  Regular Expressions
                                    --
.context Mword
.context @L8078
:z3
:nMword Function
:l24
                                             Up Contents Index Back
Microsoft Editor
 
  Mword (Mword)
 
  Mword
 
      Moves the cursor to the beginning of the current word, or if the
      cursor is not in a word or at the beginning of the word, moves the
      cursor to the beginning of the previous word.
 
  Meta Mword (meta pword)
 
      Moves the cursor to the immediate right of the previous word.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; there are no more words in the file
 
  See
 
  Pword
                                    --
.context Newline
.context @L8079
:z3
:nNewline Function
:l31
                                             Up Contents Index Back
Microsoft Editor
 
  Newline (Newline)
 
  Newline
 
     Moves the cursor to a new line.
 
     If the Softcr switch is turned on, the editor tries to place the
     cursor in an appropriate position based on the type of file.
 
     If the file is a C program, the editor tries to indent based on
     continuation of lines and on open blocks. If the next line is blank,
     the editor places the cursor in the column corresponding to the first
     nonblank character of the previous line. If neither of the above is
     true, the editor places the cursor on the first nonblank character of
     the line.
 
  Meta Newline
 
     Moves the cursor to column 1 of the next line.
 
  Returns
 
  Newline always returns true.
 
  See
 
  Emacsnewl Softcr
                                    --
.context Nextmsg
.context @L807a
:z3
:nNextmsg Function
:l47
                                             Up Contents Index Back
Microsoft Editor
 
  Nextmsg (Nextmsg)
 
  Nextmsg
 
     Advances to next error message or Mgrep match listed in the <compile>
     pseudofile.
 
  Arg <number> Nextmsg
 
     Moves to the nth message in the current set of messages, where n is
     specified by <number>.
 
     To move relative to the current message, use a signed number. For
     example, when <number> is +1, the editor moves to the next message,
     and when it is -1, the editor moves to the previous message.
 
  Arg Nextmsg
 
     Move to the next message within current set of messages that does not
     refer to current file.
 
  Arg Meta Nextmsg
 
     Advance to next "set" of error messages, in which a set corresponds
     to all the messages for a single compile or search.
 
     After executing this command, you cannot move back to the previous
     set. You can still view all sets of messages in the <compile> pseudo
     file until it is deleted.
 
  Arg Arg Nextmsg
 
     If the current file is the <compile> pseudo file, sets the message at
     the cursor as the current error message.
 
  Returns
 
  True:  Message found
  False: No more messages found
 
  See
 
  Compile Mgrep Mgreplist
                                    --
.context Noedit
.context @L807b
:z3
:nNoedit Function
:l31
                                             Up Contents Index Back
Microsoft Editor
 
  Noedit (Noedit)
 
  Toggles the no-edit mode of the editor or the current file. When the
  no-edit mode is turned on, the editor displays "No-edit" on the status
  bar and disallows modification of the file.
 
  Noedit
 
     Toggle the no-edit state of the editor.
 
     If the editor was started with the /R (read only) option, this
     command removes the no-edit limitation. If the editor is not in
     no-edit mode, this command turns on no-edit mode.
 
  Meta Noedit
 
     Toggle the no-edit mode for the current file.
 
  Returns
 
  True:  File or editor in no-edit mode; modification disallowed
  False: File or editor in edit mode; modification allowed
 
  See
 
  Command-Line Syntax
  EditReadonly Readonly Viewonly
                                    --
.context Noop
.context @L807c
:z3
:nNoedit Function
:l19
                                             Up Contents Index Back
Microsoft Editor
 
  Noop (Noop and usually several other keys)
 
  Does nothing.
 
  By default, the editor displays an error message when you press a key
  that is not assigned to a function. To suppress this message for a key,
  assign the key to the Noop function.
 
  Returns
 
  The Noop function always returns True.
 
  See
 
  Assign Unassigned Tell
                                    --
.context Paste
.context @L807d
:z3
:nPaste Function
:l59
                                             Up Contents Index Back
Microsoft Editor
 
  Paste (Paste)
 
  Paste
 
      Inserts the contents of the clipboard at the cursor. The text is
      always inserted independent of the insert/overtype mode.
 
      If the clipboard contents were copied to the clipboard as a linearg,
      the editor inserts the contents of the clipboard above the current
      line. Otherwise, the contents of the clipboard are inserted at the
      cursor.
 
  Arg <boxarg>  <linearg>  <streamarg> Paste
 
      Replaces the selected text with the contents of the clipboard.
 
  Arg Paste
 
      Copies the text from the cursor to the end of the line. The text is
      copied to the clipboard and inserted at the cursor.
 
  Arg <textarg> Paste
 
      Copies the <textarg> to the clipboard and inserts it at the cursor.
 
  Arg Arg <textarg> Paste
 
      Copies the contents of the file specified by <textarg> to the
      current file above the current line.
 
  Arg Arg !<textarg> Paste
 
      Runs <textarg> as an operating-system command, capturing the
      command's output to standard output. The output is copied to the
      clipboard and inserted above the current line.
 
      You must enter the exclamation mark as shown.
 
  Example
 
  The following command copies a sorted copy of the file SAMPLE.TXT to the
  current file:
 
      Arg Arg "!SORT <SAMPLE.TXT" Paste
      (arg arg "!SORT <SAMPLE.TXT" paste)
 
  Returns
 
  True:  Paste always returns True except for the cases below
  False: Tried Arg Arg <textarg> Paste and file did not exist, or the
         pasted text would make a line too long
 
  See
 
  Copy Delete Ldelete Sdelete
                                    --
.context Pbal
.context @L807e
:z3
:nPbal Function
:l38
                                             Up Contents Index Back
Microsoft Editor
 
  Pbal (Pbal)
 
  Pbal
 
      Scans backward through the file, balancing parentheses (()),
      brackets ([]), and braces ({}). The first unmatched delimiter is
      highlighted when found.
 
      If an unbalanced delimiter is found, it is highlighted and the
      corresponding character is inserted at the cursor. If no unbalanced
      characters are found, the editor displays a message.
 
      The search does not include the cursor position and looks for more
      opening delimiters than closing ones.
 
  Arg Pbal (arg pbal)
 
      Like Pbal except that it scans forward through the file and searches
      for closing delimiters lacking opening partners.
 
  Meta Pbal (meta pbal)
 
      Like Pbal but does not insert the unbalanced character. If no
      unbalanced characters are found, moves to the matching character.
 
  Arg Meta Pbal (arg meta pbal)
 
      Like Arg Pbal but does not insert the character. If no unbalanced
      characters are found, moves to the matching character.
 
  Returns
 
  True:  Balance successful
  False: Invalid argument, or no unbalanced characters found
                                    --
.context Plines
.context @L807f
:z3
:nPlines Function
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  Plines (Plines)
 
  Plines
 
      Scrolls the window up as specified by the Vscroll switch.
 
  Arg Plines
 
      Scrolls the window such that the line at the cursor is moved to the
      top of the window.
 
  Arg <numarg> Plines
 
      Scrolls the window up the specified number of lines.
 
  Returns
 
  True:  Text scrolled
  False: Invalid argument
 
  See
 
  Mlines Vscroll
                                    --
.context Ppage
.context @L8080
:z3
:nPpage Function
:l26
                                             Up Contents Index Back
Microsoft Editor
 
  Ppage (Ppage)
 
  Ppage
 
     Pages forward by a window full of lines.
 
  Arg Ppage
 
     Pages to the end of the file.
 
  Arg <numarg> Ppage
 
     Moves forward the specified number of pages.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved
 
  See
 
  Mpage
                                    --
.context Ppara
.context @L8081
:z3
:nPpara Function
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Ppara (Ppara)
 
  Ppara
 
      Moves the cursor to the beginning of the first line of the next
      paragraph.
 
  Meta Ppara
 
      Moves cursor to the beginning of the first blank line after the
      current paragraph. If the cursor is not on a paragraph, moves the
      cursor to the first blank line after the next paragraph.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; no more paragraphs in the file
 
  See
 
  Mpara
                                    --
.context Print
.context @L8082
:z3
:nPrint Function
:l34
                                             Up Contents Index Back
Microsoft Editor
 
  Print (Print)
 
  The Print function prints files or selections. If the Printcmd switch is
  set, the editor uses the command line given in the switch. Otherwise, it
  copies the file or selection to PRN. The editor runs the print command
  in the background.
 
  Print
 
      Prints the current file.
 
  Arg <textarg> Print
 
      Prints all the files listed in <textarg>. Use a space to separate
      each name from the preceding name. You can use environment variables
      to specify paths for the files.
      See: Environment-Variable Specifiers
 
  Arg <boxarg>  <linearg>  <streamarg> Print
 
      Prints the selected text.
 
  Returns
 
  True:  Print successfully submitted
  False: Could not start print job
 
  See
 
  Printcmd
                                    --
.context Prompt
.context @L8083
:z3
:nPrompt Function
:l42
 Macro Example                             Up Contents Index Back
Microsoft Editor
 
  Prompt (prompt)
 
  Moves the cursor to the prompt line, displays a prompt, and waits for
  the user to type text and press ENTER or cancel the prompt.
 
  You can use this function interactively, but because it is mainly useful
  in macros, it is not assigned to a key by default. You use Lasttext or
  Arg to enter a text argument directly.
 
  Prompt
 
      Moves the cursor to the prompt line and waits for the user to type
      text.
 
  Arg Prompt
 
      Uses the text of the current line from the cursor to the end of the
      line as the prompt text.
 
  Arg <textarg> Prompt
 
      Uses <textarg> as the prompt text.
 
  Arg <boxarg>  <linearg>  <streamarg> Prompt
 
      Uses the selected text as the prompt text. If the selection spans
      more than one line, the prompt text is the first line of the
      selected text.
 
  Returns
 
  True:  Textarg entered; the user pressed ENTER
  False: The prompt was canceled; user pressed cancel
 
  See
 
  Assign
  Macros
                                    --
.context @L8084
:z3
:nPrompt Macro Example
:l34
 Description                               Up Contents Index Back
Microsoft Editor
 
  With the following macro, the editor prompts for a Help topic:
 
      QueryHelp := Arg "Help Topic to Find:" Prompt -> Mhelp
      QueryHelp : Ctrl+Q
 
  When you press CTRL+Q, the editor displays the prompt 'Help Topic to
  Find:' and waits for a response. The editor passes your response to the
  Mhelp function as if the command 'Arg <textarg> Mhelp' had been
  executed. If you cancel the dialog box, Prompt returns false and the
  macro conditional '->' terminates the macro without executing Mhelp.
 
  If You can try this macro now:
 
   1. Place the cursor on the first 'QueryHelp' line above and execute the
      Assign function (assign).
 
   2. Place the cursor on the line with 'Ctrl+Q' above and execute the
      Assign function again (assign).
 
   3. Press Ctrl+Q to test the macro.
 
      If you enter a topic in the dialog box and help finds the topic, you
      can return to this screen by executing Setfile (setfile).
 
  If you want to use this macro permanently, copy the lines above into the
  main editor section of your TOOLS.INI file.
 
  See
 
  Writing PWB Macros
                                    --
.context Psearch
.context @L8085
:z3
:nPsearch Function
:l41
                                             Up Contents Index Back
Microsoft Editor
 
  Psearch (Psearch)
 
  Psearch
 
      Searches forward for the previously searched string or pattern.
 
  Arg Psearch
 
      Searches forward in the file for the string specified by the text
      from the cursor to the first blank character.
 
  Arg <textarg> Psearch
 
      Searches forward for the specified text.
 
  Arg Arg Psearch
 
      Searches forward in the file for the regular expression specified by
      the text from the cursor to the first blank character.
 
  Arg Arg <textarg> Psearch
 
      Searches forward for the regular expression defined by <textarg>.
 
  Meta ... Psearch
 
      As above but reverses the value of the Case switch for one search.
 
  Returns
 
  True:  Pattern found
  False: Invalid argument, or pattern not found
 
  See
 
  Mgrep Msearch
  Regular Expressions
                                    --
.context Pword
.context @L8086
:z3
:nPword Function
:l24
                                             Up Contents Index Back
Microsoft Editor
 
  Pword (Pword)
 
  Pword
 
      Moves the cursor forward one word and places the cursor on the
      beginning of the new word.
 
  Meta Pword
 
      Moves the cursor to the immediate right of the current word, or if
      the cursor is not in a word, moves it to the right of the next word.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; there are no more words in the file
 
  See
 
  Mword
                                    --
.context Qreplace
.context @L8087
:z3
:nQreplace Function
:l55
                                             Up Contents Index Back
Microsoft Editor
 
  Qreplace (Qreplace)
 
  The Qreplace function performs a find-and-replace operation on the
  current file, prompting for find-and-replacement strings and
  confirmation at each occurrence.
 
  Qreplace
 
      Performs the replacement from the cursor to the end of the file,
      wrapping around the end of the file if the Searchwrap switch is set
      to yes.
 
  Arg <boxarg>  <linearg>  <streamarg> Qreplace
 
      Performs the replacement over the selected area.
 
      NOTE: The editor does not adjust the selection at each replacement
            for changes in the length of the text. For boxargs and
            streamargs, it may replace text that was not included in the
            original selection or miss text included in the original
            selection.
 
  Arg <mark> Qreplace
 
      Performs the replacement on text from the cursor to the specified
      mark. Replaces over text as if it were selected, according to the
      current selection mode. The <mark> argument cannot be a line number.
 
  Arg number Qreplace
 
      Performs the replacement for the specified number of lines, starting
      with the line at the cursor.
 
  Arg Arg ... Qreplace
 
      As above except using regular expressions.
 
  Meta ... Qreplace
 
      As above except the sense of the Case switch is reversed for the
      operation.
 
  Returns
 
  True:  At least one replacement was performed
  False: String not found, or invalid pattern
 
  See
 
  Mreplace Replace Searchwrap
  Regular Expressions
                                    --
.context Quote
.context @L8088
:z3
:nQuote Function
:l22
                                             Up Contents Index Back
Microsoft Editor
 
  Quote (Quote)
 
  Reads one key from the keyboard and types its ASCII character.
 
  This is useful for inserting text into a file that happens to be
  assigned to a function (such as a tab or form-feed character).
 
  Returns
 
  True:  Quote always returns true except in the following case
  False: Character would make line too long
 
  See
 
  Graphic
  Entering Tab Characters
  Inserting ASCII Characters
  Making a Keystroke Literal
                                    --
.context Record
.context @L8089
:z3
:nRecord Function
:l51
                                             Up Contents Index Back
Microsoft Editor
 
  Record (Record)
 
  The Record function toggles macro recording.
 
  While a macro is being recorded, the editor displays the message "Next
  file is <record>" on the prompt line, And the letters "REC" on the
  status bar.
 
  When macro recording is stopped, the editor assigns the recorded
  commands to the default macro name 'recordvalue'. During the recording,
  the editor writes the name of each command to the definition of
  Recordvalue in the <record> file, which can be viewed as it is updated.
 
  NOTE: Macro recording does not record changes in cursor position
        accomplished by clicking the mouse. Use the keyboard if you want
        to include cursor movements in a macro.
 
  Record
 
      Toggles macro recording on and off.
 
  Arg <textarg> Record (arg <textarg> record)
 
      Turns on recording if it is off and assigns the name specified in
      the text argument to the recorded macro. Turns off recording if it
      is turned on.
 
  Meta Record (meta record)
 
      Toggles macro recording. While recording, no editing commands are
      executed until recording is turned off. Use this form of the
      function to record a macro without modifying your file.
 
  Arg ... Record
 
      As above but if the target macro already exists, the commands are
      appended to the end of the macro.
 
  Returns
 
  True:  Recording turned on.
  False: Recording turned off.
 
  See
 
  Macros
  Macro Recording
                                    --
.context Refresh
.context @L808a
:z3
:nRefresh Function
:l28
                                             Up Contents Index Back
Microsoft Editor
 
  Refresh (Refresh)
 
  Refresh
 
      Prompts for confirmation then rereads the file from disk, discarding
      its Undo history and all modifications to the file since the file
      was last saved.
 
      Returns
 
      True:  File reread
      False: Prompt canceled, or bad argument. The file is not reread.
 
  Arg Refresh
 
      Prompts for confirmation and then removes the current file from the
      active window. If the active window is the last window that has the
      file, the file is discarded from memory without saving changes and
      the file is closed.
 
      Returns
 
      True:  File removed from the window
      False: Prompt canceled, or bad argument. The file is not removed.
                                    --
.context Repeat
.context @L808b
:z3
:nRepeat Function
:l29
                                             Up Contents Index Back
Microsoft Editor
 
  Repeat (Repeat)
 
  Repeat
 
      Repeats the last editing action relative to the current cursor
      position. The Repeat function considers the following types of
      operations to be editing actions:
 
         Typing a contiguous stream of characters without entering a
          command or moving the cursor
 
         Deleting text
 
         Pasting from the clipboard
 
      Repeat does not repeat macros or cursor movements.
 
  Arg <number> Repeat
 
      Performs the last action the number of times specified by <number>.
 
  Returns
 
  True:  Action repeated and returned true
  False: Action repeated and returned false, or no action to repeat
                                    --
.context Replace
.context @L808c
:z3
:nReplace Function
:l56
 Macro Example                             Up Contents Index Back
Microsoft Editor
 
  Replace (Replace)
 
  The Replace function performs a find-and-replace operation on the
  current file, prompting for find-and-replacement strings. Replace
  substitutes all matches of the search pattern without prompting for
  confirmation.
 
  Replace
 
      Performs the replacement from the cursor to the end of the file,
      wrapping around the end of the file if the Searchwrap switch is on.
 
  Arg <boxarg>  <linearg>  <streamarg> Replace
 
      Performs the replacement over the selected area.
 
      NOTE: The editor does not adjust the selection at each replacement
            for changes in the length of the text. For boxargs and
            streamargs, it may replace text that was not included in the
            original selection or miss text included in the original
            selection.
 
  Arg <mark> Replace
 
      Performs the replacement on text from the cursor to the specified
      mark. It searches the range of text as if it were selected,
      according to the current selection mode. The <mark> argument cannot
      be a line number.
 
  Arg <number> Replace
 
      Performs the replacement over the specified number of lines,
      starting with the current line.
 
  Arg Arg ... Replace
 
      As above except using regular expressions.
 
  Meta ... Replace
 
      As above except the sense of the Case switch is reversed for the
      operation.
 
  Returns
 
  True:  At least one replacement was performed
  False: String not found, or invalid pattern
 
  See
 
  Qreplace Searchwrap
  Regular Expressions
                                    --
.context @L808d
:z3
:nReplace Macro Example
:l38
 Description                               Up Contents Index Back
Microsoft Editor
 
  To use the replace function in a macro, use the following phrase:
 
          ...Replace "pattern" Newline "replacement" Newline +>found...
 
  Enter the replies to the prompts as you would when executing Replace
  interactively. This example also shows where to place the conditional to
  test the result of Replace.
 
  You can specify special characters in the find-and-replacement strings
  by using escape sequences similar to those in the C language. Note that
  backslashes in the macro string must be doubled.
 
  To restore the usual prompts, use the phrase:
 
      ...Replace <
 
  To use an empty replacement text (replace with nothing), use the
  following phrase:
 
      ...Replace "pattern" Newline " " Cdelete Newline...
 
  If you find that you write many macros with empty replacements, the
  common phrase can be placed in a macro, as follows:
 
      nothing := " " Cdelete Newline
 
  In addition, macro definitions can be more readable with the following
  definition:
 
      with := Newline
 
  With these definitions, you can write:
 
      ... Replace "pattern" with nothing ...
                                    --
.context Restcur
.context @L808e
:z3
:nRestcur Function
:l19
                                             Up Contents Index Back
Microsoft Editor
 
  Restcur (Restcur)
 
  Moves the cursor to the last position saved with the Savecur function
  (savecur).
 
  Restcur always clears the saved position.
 
  Returns
 
  True:  Position restored
  False: No saved position to restore
 
  See
 
  Savecur
                                    --
.context Right
.context @L808f
:z3
:nRight Function
:l25
 Macro Example                             Up Contents Index Back
Microsoft Editor
 
  Right (Right)
 
  Right
 
      Moves the cursor one character to the right. If this action causes
      the cursor to move out of the window, the editor adjusts the window
      to the right according to the Hscroll switch.
 
  Meta Right (meta right)
 
      Moves the cursor to the rightmost position in the window.
 
  Returns
 
  True:  Cursor on text in the line
  False: Cursor past text on the line
 
  See
 
  Hscroll
  Begfile Begline Down Endline Home Left Right Up
                                    --
.context @L8090
:z3
:nRight Macro Example
:l11
 Description                               Up Contents Index Back
Microsoft Editor
 
  In a macro, the return value of the Right function can be used to test
  if the cursor is on text in the line or past the end of the line.
 
  The following macro tests the return value to simulate the Endline
  function:
 
      MyEndline := Begline :>loop Right +>loop
                                    --
.context Saveall
.context @L8091
:z3
:nSaveall Function
:l11
                                             Up Contents Index Back
Microsoft Editor
 
  Saveall (Saveall)
 
  Saves all modified disk files. Pseudofiles are not saved.
 
  Returns
 
  Saveall always returns true.
                                    --
.context Savecur
.context @L8092
:z3
:nSavecur Function
:l18
                                             Up Contents Index Back
Microsoft Editor
 
  Savecur (Savecur)
 
  Saves the cursor position (sets an anchor).
 
  To restore the cursor to the saved position, use the Restcur function
  (restcur).
 
  Returns
 
  Savecur always returns true.
 
  See
 
  Restcur
                                    --
.context Savetmpfile
.context @L8093
:z3
:nSavetmpfile Function
:l8
                                             Up Contents Index Back
Microsoft Editor
 
  Savetmpfile (Savetmpfile)
 
  Saves the editor TMP file. This file is normally saved automatically
  when you leave the editor.
                                    --
.context Sdelete
.context @L8094
:z3
:nSdelete Function
:l34
                                             Up Contents Index Back
Microsoft Editor
 
  Sdelete (Sdelete)
 
  Sdelete
 
      Deletes the character at the cursor. Does not copy the character to
      the clipboard.
 
  Arg Sdelete
 
      Deletes text from the cursor to the end of the line, including the
      line break. The deleted text is copied to the clipboard.
 
  Arg <streamarg>  <boxarg>  <linearg> Sdelete
 
      Deletes the selected stream of text from the starting point of the
      selection to the cursor and copies it to the clipboard. This always
      deletes a stream of text, regardless of the current selection mode.
 
  Meta ... Sdelete
 
      As above but discards the deleted text. The contents of the
      clipboard are unchanged.
 
  Returns
 
  Sdelete always returns true.
 
  See
 
  Selection Modes (Defined)
                                    --
.context Searchall
.context @L8095
:z3
:nSearchall Function
:l47
                                             Up Contents Index Back
Microsoft Editor
 
  Searchall (Searchall)
 
  Searchall
 
      Highlights all occurrences of the previously searched string or
      pattern. Moves the cursor to the first occurrence in the file.
 
  Arg Searchall
 
      Highlights all occurrences of the string specified by the text from
      the cursor to the first blank character.
 
  Arg <textarg> Searchall
 
      Highlights all occurrences of <textarg>.
 
  Arg Arg Searchall
 
      Highlights all occurrences of the regular expression defined by the
      characters from the cursor to the first blank character.
 
  Arg <streamarg> Searchall
 
      Highlights all occurrences of <streamarg>.
 
  Arg Arg <textarg> Searchall
 
      Highlights all occurrences of a regular expression defined by
      <textarg>.
 
  Meta ... Searchall
 
      As above but reverses the value of the Case switch for one search.
 
  Returns
 
  True:  String or pattern found.
  False: No matches found.
 
  See
 
  Mgrep Msearch Psearch
  Regular Expressions
                                    --
.context Setfile
.context @L8096
:z3
:nSetfile Function
:l49
                                             Up Contents Index Back
Microsoft Editor
 
  Setfile (Setfile)
 
  Setfile
 
     Switches to the most recently edited file. If the Autosave switch is
     turned on, saves any changes to the current file.
 
  Arg Setfile
 
     Switches to the file name that begins at the cursor and ends with the
     first blank.
 
  Arg <textarg> Setfile
 
     Switches to the specified file.
 
     The argument may be a drive or directory name, in which case the
     editor changes the current drive or directory.
 
     If <textarg> is a wildcard, the editor creates a pseudofile that
     lists the files matching the specified wildcard. You can then open
     files from this list by using Arg Setfile.
 
  Meta ... Setfile
 
     As above, but does not save changes for the current file.
 
  Arg Arg <textarg> Setfile
 
     Save the file under the specified name.
 
  Arg Arg Setfile
 
     Saves the current file.
 
  Returns
 
  True:  File opened successfully
  False: No alternate file, the specified file does not exist and you did
         not wish to create it, or the current file needs to be saved and
         cannot be saved
 
  See
 
  Refresh
                                    --
.context Setwindow
.context @L8097
:z3
:nSetwindow Function
:l26
                                             Up Contents Index Back
Microsoft Editor
 
  Setwindow (Setwindow)
 
  Setwindow
 
      Redisplays the contents of the active window.
 
  Meta Setwindow
 
      Redisplays the current line.
 
  Arg Setwindow
 
      Adjusts the window so that the cursor position becomes the home
      position (upper-left corner).
 
  Returns
 
  Setwindow always returns true.
 
  See
 
  Message Mlines Plines Window
                                    --
.context Shell
.context @L8098
:z3
:nShell Function
:l39
                                             Up Contents Index Back
Microsoft Editor
 
  Shell (Shell)
 
  Shell
 
      Runs an operating-system command shell. To return to the editor,
      type 'exit' at the operating-system prompt.
 
  Arg Shell
 
      Runs the text from the cursor to the end of the line as a command to
      the shell, and returns to the editor.
 
  Arg <boxarg>  <linearg> Shell
 
      Runs each selected line as a separate command to the shell, and
      returns to PWB.
 
  Arg <textarg> Shell
 
      Runs <textarg> as a command to the shell, and returns to PWB.
 
  Meta ... Shell
 
      Runs a shell, ignoring the Autosave switch. Modified files are not
      saved to disk, but they are retained in virtual memory.
 
  Returns
 
  True:  Shell ran successfully.
  False: Invalid argument, or error starting the operating system command
         processor
 
  See
 
  Askrtn Autosave Compile
                                    --
.context Sinsert
.context @L8099
:z3
:nSinsert Function
:l29
 Macro Example                             Up Contents Index Back
Microsoft Editor
 
  Sinsert (Sinsert)
 
  Sinsert
 
      Inserts a space character at the cursor.
 
  Arg Sinsert
 
      Inserts a line break at the cursor, splitting the line.
 
  Arg <streamarg>  <linearg>  <boxarg> Sinsert
 
      Inserts a stream of blanks between the starting point of the
      selection and the cursor. The insertion is always a stream,
      regardless of the current selection mode.
 
  Returns
 
  True:  Spaces or line break inserted
  False: Insertion would make a line too long
 
  See
 
  Insert Linsert
  Selection Modes (Defined)
                                    --
.context @L809a
:z3
:nSinsert Macro Example
:l8
 Description                               Up Contents Index Back
Microsoft Editor
 
  The following macro inserts a stream of spaces up to the next tab stop,
  regardless of the current selection mode:
 
      InsertTab := arg tab sinsert
                                    --
.context Tab
.context @L809b
:z3
:nTab Function
:l23
                                             Up Contents Index Back
Microsoft Editor
 
  Tab (Tab)
 
  Moves the cursor to the next tab stop.
 
  Tab stops are defined by the Tabstops switch.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
                                    --
.context Tell
.context @L809c
:z3
:nTell Function
:l54
 Tips                                      Up Contents Index Back
Microsoft Editor
 
  Tell (tell)
 
  Tell
 
      Displays the message "Press a key to tell about" and waits for a
      keystroke. After you press a key or combination of keys, Tell brings
      up the Tell dialog box showing the name of the key and its assigned
      function in TOOLS.INI key-assignment format.
 
      The key-assignment format is:
 
          function:key
 
      If the key is not assigned a function, Tell displays 'unassigned'
      for the function name.
 
      If you press a combination of keys, but Tell still shows the 'Press
      a key' prompt (when you press SCROLL LOCK, for example), PWB is
      unable to recognize that combination of keys and you cannot use it
      as a key assignment.
 
  Arg Tell
 
      Prompts for a key, then displays the name of the function or macro
      assigned to the key in one of these formats:
 
          function:key
          macroname:=definition
 
  Arg <textarg> Tell
 
      Displays the value of the macro named by <textarg>. If you specify a
      function, Tell displays
 
          function:function
 
  Meta ... Tell
 
      As above except Tell types the result into the current file rather
      than displaying it in a dialog box. This is how to discover the
      definition of any macro.
 
  Returns
 
  True:  Assignment displayed or typed
  False: No assignment for the key or the specified name
 
  See
 
  Assign Noop Record Unassigned
                                    --
.context @L809d
:z3
:nTell Tips
:l32
 Description                               Up Contents Index Back
Microsoft Editor
 
  Meta Tell is a convenient and reliable way of writing a key assignment
  when you are configuring the editor.
 
  For example, if you want to execute the Curdate function (type today's
  date) when you press the CTRL, SHIFT, and D keys simultaneously, perform
  the following steps:
 
   1. Go to an empty line in TOOLS.INI.
 
   2. Execute Meta Tell (meta tell).
 
      Tell displays the message: 'Press a key to tell about'.
 
   3. Press the D and CTRL keys simultaneously.
 
      If you have not already assigned a function to this combination,
      Tell types:
 
          unassigned:Ctrl+D
 
   4. Select the word 'unassigned' and type 'curdate'.
 
   5. If you want the assignment to take effect immediately, move the
      cursor to the line you've just entered and execute the Assign
      function (assign).
 
  TIP: Use Meta Arg <textarg> Tell to recover the definition of a macro
       that you have not saved or entered into a file.
                                    --
.context Unassigned
.context @L809e
:z3
:nUnassigned Function
:l21
                                             Up Contents Index Back
Microsoft Editor
 
  Unassigned (all available and unassigned keys)
 
  Displays a message for keys that do not have a function assignment.
 
  All unassigned keys are actually assigned the Unassigned function. Thus,
  to remove a function assignment for a key, assign the Unassigned
  function to the key.
 
  NOTE: The Unassigned function is not useful in macros.
 
  Returns
 
  The Unassigned function always returns false.
 
  See
 
  Assign Noop Tell
                                    --
.context Undo
.context @L809f
:z3
:nUndo Function
:l24
                                             Up Contents Index Back
Microsoft Editor
 
  Undo (Undo)
 
  Undo
 
     Reverses the last editing change. The maximum number of times this
     can be performed is set by the Undocount switch.
 
  Meta Undo
 
     Recalls a command previously cancelled with Undo. This command is
     often called "redo."
 
  Returns
 
  True:  Operation undone or redone
  False: Nothing to undo or redo
 
  See
 
  Repeat
                                    --
.context Up
.context @L80a0
:z3
:nUp Function
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  Up (Up)
 
  Up
 
      Moves the cursor up one line. If a selection has been started, it is
      extended by one line. If this movement results in the cursor moving
      out of the window, the window is adjusted upward as specified by the
      Vscroll switch.
 
  Meta Up
 
      Moves the cursor to the top of the window without changing the
      column position.
 
  Returns
 
  True:  Cursor moved
  False: Cursor not moved; the cursor is already at the destination
 
  See
 
  Begfile Begline Down Endline Home Left Right Up
  Vscroll
                                    --
.context Window
.context @L80a1
:z3
:nWindow Function
:l47
                                             Up Contents Index Back
Microsoft Editor
 
  Window (Window)
 
  Window
 
      Moves the cursor to the next window. The next window is to the right
      of or below the active window.
 
      Returns
 
      The Window function without an argument always returns True.
 
  Arg Window
 
      Splits the active window horizontally at the cursor. All windows
      must be at least five lines high.
 
      Returns
 
      True:  Successfully split the window
      False: Could nto split the window
 
  Arg Arg Window
 
      Splits the active window vertically at the cursor. All windows must
      be at least 10 columns wide.
 
      Returns
 
      True:  Successfully split the window
      False: Could nto split the window
 
  Meta Window
 
      Closes the active window.
 
      Returns
 
      True:  Window closed
      False: Window not closed; only one window is open
 
  See
 
  Setwindow
                                    --
.context switches
.context @L80a2
:z3
:nEditor Switches (Alphabetical List)
:l68
                                             Up Contents Index Back
Microsoft Editor Switches (Alphabetical List)
 
  Switch              Description
 
  Askexit           Prompt before leaving the editor
  Askrtn            Prompt before returning from a shell
  Autosave          Automatically save files when switching
  Backup            File backup method
  Case              Make letter case significant in searches
  Cursorsize        Shape of the cursor
  Displaycursor     Show cursor position on status bar
  Editreadonly      Allow editing of files marked read-only on disk
  Entab             Tab translation mode while editing
  Enterboxmode      Start in box selection mode
  Enterinsmode      Start in insert mode
  Errcolor          Error-message color
  Errprompt         Prompt for key on errors
  Extmake           Command line to compile a file
  Fgcolor           Window color
  Filetab           Width of tab characters in the file
  Height            Height of the display
  Helpcolor           Normal Help text color
  Helpboldcolor       Bold Help text color
  Helpitalcolor       Italic Help text (hyperlink) color
  Helpundrcolor       Underlined Help text color
  Helpwarncolor       Current Help button color
  Helpwindow          Display Help in a new window
  Helpfiles           List of Help files to open
  Hgcolor           Highlight color
  Hike              Window adjustment factor
  Hscroll           Horizontal scrolling factor
  Infcolor          Information color
  Keyboard          Ignored; for compatibility only
  Load              Editor extension to load
  Markfile          Name of the current mark file
  Msgflush          Keep only one set of build results
  Noise             Line counting interval
  Printcmd          Command for printing files
  Readonly          Command for saving read-only files
  Realtabs          Preserve tab characters in the file
  Rmargin           Right margin for word wrap
  Savescreen        Preserve the operating-system screen
  Searchwrap        Make searches wrap around the ends of the file
  Selcolor          Selection color
  Shortnames        Allow access to open files by base name
  Snow              Ignored; for compatibility only
  Softcr            Indent automatically
  Stacolor          Status bar color
  Tabalign          Align the cursor in tab fields
  Tabdisp           Character for displaying tab characters
  Tabstops          Tab-stop interval
  Tmpsav            Number of files kept in file history
  Traildisp         Character for displaying trailing spaces
  Trailspace        Preserve trailing spaces
  Undelcount        Maximum number of backup copies
  Undocount         Maximum number of edits per file to undo
  Unixre            Use UNIX regular-expression syntax
  Usemouse          Use the mouse
  Viewonly          Start in no-edit mode
  Vscroll           Vertical scrolling factor
  Width             Width of the display
  Wordwrap          Wrap words as they are entered
 
  See
 
  Configuring the Editor With TOOLS.INI
                                    --
.context @L80a3
:z3
:nEditor Switches (List by Type)
:l89
                                             Up Contents Index Back
Microsoft Editor Switches (List by Type)
 
  Boolean Switches
 
  Askexit           Prompt before leaving the editor
  Askrtn            Prompt before returning from a shell
  Autosave          Automatically save files when switching
  Case              Make letter case significant in searches
  Displaycursor     Show cursor position on status bar
  Editreadonly      Allow editing of files marked read-only on disk
  Enterboxmode      Start in box selection mode
  Enterinsmode      Start in insert mode
  Errprompt         Prompt for key on errors
  Helpwindow          Display Help in a new window
  Msgflush          Keep only one set of build results
  Realtabs          Preserve tab characters in the file
  Savescreen        Preserve the operating-system screen
  Searchwrap        Make searches wrap around the ends of the file
  Shortnames        Allow access to open files by base name
  Snow              Ignored; for compatibility only
  Softcr            Indent automatically
  Tabalign          Align the cursor in tab fields
  Trailspace        Preserve trailing spaces
  Unixre            Use UNIX regular-expression syntax
  Usemouse          Use the mouse
  Viewonly          Start in no-edit mode
  Wordwrap          Wrap words as they are entered
 
  Numeric Switches
 
  Cursorsize        Shape of the cursor
  Entab             Tab translation mode while editing
  Errcolor          Error-message color
  Filetab           Width of tab characters in the file
  Fgcolor           Window color
  Height            Height of the display
  Helpcolor           Normal Help text color
  Helpboldcolor       Bold Help text color
  Helpitalcolor       Italic Help text (hyperlink) color
  Helpundrcolor       Underlined Help text color
  Helpwarncolor       Current Help button color
  Hgcolor           Highlight color
  Hike              Window adjustment factor
  Hscroll           Horizontal scrolling factor
  Infcolor          Information color
  Noise             Line counting interval
  Rmargin           Right margin for word wrap
  Selcolor          Selection color
  Stacolor          Status bar color
  Tabdisp           Character for displaying tab characters
  Tabstops          Tab-stop interval
  Tmpsav            Number of files kept in file history
  Traildisp         Character for displaying trailing spaces
  Undelcount        Maximum number of backup copies
  Undocount         Maximum number of edits per file to undo
  Vscroll           Vertical scrolling factor
  Width             Width of the display
 
  Text Switches
 
  Backup            File backup method
  Extmake           Command line to compile a file
  Helpfiles           List of Help files to open
  Keyboard          Ignored; for compatibility only
  Load              Editor extension to load
  Markfile          Name of the current mark file
  Printcmd          Command for printing files
  Readonly          Command for saving read-only files
 
  Color Switches
 
  Errcolor          Error-message color
  Fgcolor           Window color
  Helpcolor           Normal Help text color
  Helpboldcolor       Bold Help text color
  Helpitalcolor       Italic Help text (hyperlink) color
  Helpundrcolor       Underlined Help text color
  Helpwarncolor       Current Help button color
  Hgcolor           Highlight color
  Infcolor          Information color
  Selcolor          Selection color
  Stacolor          Status-bar color
 
 
  See
 
  Configuring the Editor With TOOLS.INI
                                    --
.context mep.bool
.context @L80a4
:z3
:nBoolean Switch Syntax
:l27
                                             Up Contents Index Back
Microsoft Editor Boolean Switch Syntax
 
  You can use either one of the following syntaxes to set Boolean
  switches:
 
  Syntax 1
 
  <switch> : [ yes  no  on  off  1  0 ]
 
  <switch>      The name of a switch
  yes, on, 1    Enable the feature controlled by <switch>
  no, off, 0    Disable the feature controlled by <switch>
 
  Syntax 2
 
  [no]<switch> :
 
  <switch>      Enable the feature controlled by <switch>
  no<switch>    Disable the feature controlled by <switch>
 
  See
 
  Editor Switches (Alphabetical List)
  Editor Switches (List by Type)
  Configuring the Editor With TOOLS.INI
                                    --
.context color.values
.context @L80a5
:z3
:nColor Switch Values
:l29
                                             Up Contents Index Back
Microsoft Editor Color Switch Values
 
  The value of a color switch is two hexadecimal digits that specify the
  color of the item. The first digit specifies the background color and
  the second digit specifies the foreground color, according to the
  following table:
 
  Color     Digit         Color            Digit
 
  Black     0             Dark Gray        8
  Blue      1             Bright Blue      9
  Green     2             Bright Green     A
  Cyan      3             Bright Cyan      B
  Red       4             Bright Red       C
  Magenta   5             Bright Magenta   D
  Brown     6             Yellow           E
  White     7             Bright White     F
 
  For example, a setting of 3E displays a cyan background (3) and a yellow
  foreground (E).
 
  The first digit may be omitted, in which case the background color is 0
  (black).
 
  See
 
  Errcolor Fgcolor Hgcolor Infcolor Selcolor Stacolor Wdcolor
                                    --
.context Askexit
.context @L80a6
:z3
:nAskexit Switch
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Askexit (Boolean)
 
  Determines if the editor prompts for confirmation before returning to
  the operating system.
 
  Syntax
 
  Askexit:{ yes  no }
 
  yes    Prompt for confirmation before leaving the editor
 
  no     Do not prompt before leaving the editor
 
  Default
 
  Askexit:no
 
  See
 
  Exit
  Boolean Switch Syntax
                                    --
.context Askrtn
.context @L80a7
:z3
:nAskrtn Switch
:l28
                                             Up Contents Index Back
Microsoft Editor
 
  Askrtn (Boolean)
 
  Determines if the editor prompts before returning to the editor after
  running a shell or external command.
 
  Syntax
 
  Askrtn:{ yes  no }
 
  yes    Prompt for confirmation before returning to the editor.
 
         This setting allows you to review the contents of the
         operating-system screen before returning to the editor.
 
  no     Do not prompt before returning to the editor.
 
  Default
 
  Askrtn:yes
 
  See
 
  Compile Shell
  Boolean Switch Syntax
                                    --
.context Autosave
.context @L80a8
:z3
:nAutosave Switch
:l32
                                             Up Contents Index Back
Microsoft Editor
 
  Autosave (Boolean)
 
  Determines if the editor automatically saves the current file when you
  switch to another file, exit the editor, or execute an external
  operation such as a shell, print, or compile.
 
  When the Autosave switch is set to No, the editor saves a file only
  after prompting or in response to an explicit command. The editor
  maintains the contents of files in memory for all operations, and
  prompts to save modified files on exit or for external operations such
  as a compile.
 
  Syntax
 
  Autosave:{ yes  no }
 
  yes    Automatically save files
 
  no     Do not automatically save files
 
  Default
 
  Autosave:no
 
  See
 
  Compile Shell
  Boolean Switch Syntax
                                    --
.context Backup
.context @L80a9
:z3
:nBackup Switch
:l29
                                             Up Contents Index Back
Microsoft Editor
 
  Backup (Text)
 
  Determines what happens to the old copy of a file before the new version
  is saved to disk.
 
  Syntax
 
  Backup:[ none  undel  bak ]
 
  none      No backup: the editor overwrites the file.
 
  undel     The editor moves the old file to a hidden directory so you can
            retrieve it with the UNDEL utility. The number of copies saved
            is specified by the Undelcount switch.
 
  bak       The extension of the previous version of the file is changed
            to .BAK.
 
  Default
 
  Backup:bak
 
  See
 
  Autosave Undelcount
                                    --
.context Case
.context @L80aa
:z3
:nCase Switch
:l32
                                             Up Contents Index Back
Microsoft Editor
 
  Case (Boolean)
 
  Determines if letter case is distinguished in searches.
 
  The search functions have 'meta' forms that temporarily reverse the
  sense of the Case switch.
 
  Syntax
 
  Case:{ yes  no }
 
  yes    Case is significant in searches.
 
         Uppercase letters in search patterns do not match lowercase
         letters in text.
 
  no     Case is not significant in searches.
 
         Uppercase letters match lowercase letters.
 
  Default
 
  Case:no
 
  See
 
  Meta Mgrep Mreplace Msearch Psearch Replace
  Boolean Switch Syntax
                                    --
.context Cursorsize
.context @L80ab
:z3
:nCursorsize Switch
:l19
                                             Up Contents Index Back
Microsoft Editor
 
  Cursorsize (Numeric)
 
  Specifies the shape of the cursor.
 
  The Cursorsize switch can have the following values:
 
  Value     Cursor
 
  0         Underscore
 
  1         Block
 
  Default
 
  Cursorsize:0
                                    --
.context Displaycursor
.context @L80ac
:z3
:nDisplaycursor Switch
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Displaycursor (Boolean)
 
  Determines which of two locations is displayed on the status bar. The
  location is listed in (line,column) format.
 
  Syntax
 
  Displaycursor:{ yes  no }
 
  yes      Displays the location of the cursor
 
  no       Displays the location of the active window's upper-left corner
           (the 'home' position)
 
  Default
 
  Displaycursor:no
 
  See
 
  Boolean Switch Syntax
                                    --
.context Editreadonly
.context @L80ad
:z3
:nEditreadonly Switch
:l35
                                             Up Contents Index Back
Microsoft Editor
 
  Editreadonly (Boolean)
 
  Determines if the editor allows you to edit a file marked read-only on
  disk.
 
  Syntax
 
  Editreadonly:{ yes  no }
 
  yes    Allow modification of files that are marked read-only on disk.
 
         When the editor attempts to save the modified file, the editor
         informs you that the file is marked read-only. It also prompts
         you to confirm that the command specified by the Readonly switch
         is to be run. If you decline to run the command, the editor gives
         you the opportunity to save the file with a different name.
 
  no     Disallow modification of read-only files.
 
         For files that cannot be modified, the editor displays the text
         "No-Edit" on the status bar. You can reenable modification of a
         read-only file by using the Noedit function (noedit).
 
  Default
 
  Editreadonly:yes
 
  See
 
  Noedit Readonly Viewonly
  Boolean Switch Syntax
                                    --
.context Entab
.context @L80ae
:z3
:nEntab Switch
:l58
                                             Up Contents Index Back
Microsoft Editor
 
  Entab (Numeric)
 
  Determines how the editor converts white space on modified lines to
  spaces or tabs. The editor converts white space only on the lines that
  you modify.
 
  Tab characters are included in the white space to be converted depending
  on the setting of the Realtabs switch.
 
  Realtabs Value   Description
 
  yes              Tab characters are not converted. The editor converts
                   only sequences of space characters. Tabs are preserved.
 
  no               Tab characters are included in the white space to be
                   converted. Tabs are translated.
 
  The Entab switch can have the following values:
 
  Value   Meaning
 
  0       Convert all white space to space (ASCII 32) characters.
 
          With Realtabs set to No, the editor removes tab characters on
          all lines that you modify.
 
  1       Convert white space outside quoted strings to tabs.
 
          A quoted string is any span of characters enclosed by a pair of
          single quotation marks or a pair of double quotation marks.
 
  2       Convert white space to tabs.
 
  With settings 1 and 2, if the white space being considered for
  conversion to a tab character occupies an entire tab field or ends at
  the boundary of a tab field, it is converted to a tab (ASCII 9)
  character. The width of a tab field is specified by the Filetab switch.
 
  In all conversions, the editor maintains the alignment of text as it is
  displayed on screen.
  See: How Tabs are Displayed
 
  Default
 
  Entab:1
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
                                    --
.context Enterboxmode
.context @L80af
:z3
:nEnterboxmode Switch
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  Enterboxmode (Boolean)
 
  Determines the starting selection mode.
 
  Use the Boxstream function to toggle the current selection mode.
 
  Syntax
 
  Enterboxmode:{ yes  no }
 
  yes     Box selection mode
 
  no      Stream selection mode
 
  Default
 
  Enterboxmode:no
 
  See
 
  Boxstream
  Selection Modes (Defined) Selection Modes (Setting)
  Boolean Switch Syntax
                                    --
.context Enterinsmode
.context @L80b0
:z3
:nEnterinsmode Switch
:l30
                                             Up Contents Index Back
Microsoft Editor
 
  Enterinsmode (Boolean)
 
  Determines if the editor starts in insert mode or overtype mode.
 
  When the current mode is insert mode, the editor displays "insert" on
  the status bar. You can toggle the current mode by using the Insertmode
  function (insertmode).
 
  Syntax
 
  Enterinsmode:{ yes  no }
 
  yes    Start in insert mode
 
  no     Start in overtype mode
 
  Default
 
  By default, the editor restores the last state of insert/overtype mode
  in the previous session. If starting the editor for the first time, or
  the editor TMP file is not found, the default mode is overtype mode
 
  See
 
  Insertmode
  Boolean Switch Syntax
                                    --
.context Errcolor
.context @L80b1
:z3
:nErrcolor Switch
:l18
                                             Up Contents Index Back
Microsoft Editor
 
  Errcolor (Numeric)
 
  The color of error messages.
 
  Default
 
  Errcolor:4
 
  The default is red text on a black background.
 
  See
 
  Color Values
  Fgcolor Hgcolor Infcolor Selcolor Stacolor Wdcolor
                                    --
.context Errprompt
.context @L80b2
:z3
:nErrprompt Switch
:l23
                                             Up Contents Index Back
Microsoft Editor
 
  Errprompt (Boolean)
 
  Determines if the editor displays the "Press Any Key" prompt.
 
  Syntax
 
  Errprompt:{ yes  no }
 
  yes      Stop at each message and wait for a key
 
  no       Display each message, but do not wait for a key
 
  Default
 
  Errprompt:yes
 
  See
 
  Boolean Switch Syntax
                                    --
.context Extmake
.context @L80b3
:z3
:nExtmake Switch
:l42
                                             Up Contents Index Back
Microsoft Editor
 
  Extmake (Text)
 
  Specifies the operating-system command line used by the Compile function
  for a particular file, file extension, or file type.
 
  Arg Compile spawns a command based on extension of current file; the
  editor selects the corresponding Extmake setting. Arg <textarg> Compile
  spawns the command line for the appropriate extension in the <textarg>.
  The <textarg> replaces %s.
 
  Syntax:
 
  Extmake:<src> <command>
  Extmake:[<file>] <command>
  Extmake:*<type> <command>
  Extmake:.<src>.<dst> <command>
 
  <src>         Extension of source file
 
  <dst>         Extension of destination file (ignored)
 
  [<file>]      Name of a specific file
 
  <type>        File type: BASIC, c, cobol, fortran, lisp, pascal, text
 
  <command>     Operating-system command line to process the matching file
 
  A %s in <command> is replaced with the name of the current file, or with
  the <textarg> in the Arg <textarg> Compile command. You can use a
  special syntax to specify parts of the current file name.
  See: Filename-Parts Syntax
 
  For example, you could have the following lines in TOOLS.INI:
 
     Extmake:.asm.obj masm %s;
     Extmake:*text nmake %s
     Extmake:c CL -c -Od -D_DEBUG -Fo%|pF\ebug\|fF.obj %s
     Extmake:[stub.c] cl -c -Od %s
                                    --
.context Fgcolor
.context @L80b4
:z3
:nFgcolor Switch
:l18
                                             Up Contents Index Back
Microsoft Editor
 
  Fgcolor (Numeric)
 
  The color of editing windows.
 
  Default
 
  Fgcolor:7
 
  The default is light gray on black.
 
  See
 
  Color Values
  Errcolor Hgcolor Infcolor Selcolor Stacolor Wdcolor
                                    --
.context Filetab
.context @L80b5
:z3
:nFiletab Switch
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Filetab (Numeric)
 
  The width of a tab field for displaying tab (ASCII 9) characters in the
  file. The width of a tab field determines how white space is translated
  according to the Entab and Realtabs switches.
 
  The Filetab switch does not affect the cursor-movement functions Tab
  (tab) and Backtab (backtab).
 
  Default
 
  Filetab:8
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
                                    --
.context Height
.context @L80b6
:z3
:nHeight Switch
:l22
                                             Up Contents Index Back
Microsoft Editor
 
  Height (Numeric)
 
  The number of lines on the screen, not including the prompt line and the
  status bar.
 
  The last setting of this switch is saved and restored across sessions.
 
  Default
 
  Height:48
 
  When you start the editor for the first time, the editor uses the
  current screen height. Thereafter, the editor restores the previous
  setting until you explicitly assign a new value to the Height switch.
 
  See
 
  Assign
                                    --
.context helpcolor
.context helpboldcolor
.context helpitalcolor
.context helpundrcolor
.context helpwarncolor
.context @L80b7
:z3
:nHelp Color Switches
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Helpcolor, Helpboldcolor, Helpitalcolor, Helpundrcolor, Helpwarncolor
  (Numeric)
 
  The Help color switches specify the colors of parts of the Help window.
 
  Switch           Default Value   Description
 
  Helpcolor        17              Normal Help text
  Helpboldcolor    1f              Bold Help text
  Helpitalcolor    1a              Italic Help text (hyperlinks)
  Helpundrcolor    1c              Underlined Help text
  Helpwarncolor    70              Current Help button
 
  The Help color switches must appear in the [MEP-MHELP] section of
  TOOLS.INI.
 
  See
 
  Color Values
  Errcolor Fgcolor Hgcolor Infcolor Selcolor Stacolor
  Wdcolor
                                    --
.context Helpwindow
.context @L80b8
:z3
:nHelpwindow Switch
:l30
                                             Up Contents Index Back
Microsoft Editor
 
  Helpwindow (Boolean)
 
  Determines if Help (the <mhelp> pseudofile) is displayed in the active
  window or in a new window.
 
  Syntax
 
  Helpwindow:{ yes  no }
 
  yes   Help is displayed in a new window. The active window is split
        horizontally, and Help appears in the upper window. To close Help,
        press ESC or execute Meta Window (meta window).
 
  no    Help is displayed in the active window. To return to your file,
        press ESC or execute Setfile (setfile).
 
  The Helpwindow switch must appear in the [MEP-MHELP] section of
  TOOLS.INI.
 
  Default
 
  Helpwindow:no
 
  See
 
  Boolean Switch Syntax
                                    --
.context Helpfiles
.context @L80b9
:z3
:nHelpfiles Switch
:l15
                                             Up Contents Index Back
Microsoft Editor
 
  Helpfiles (Text)
 
  Specifies the list of Help files to open when the Help extension is
  loaded.
 
  Syntax
 
  Helpfiles:<file>[;<file>]...
 
  The Helpfiles switch must appear in the [MEP-MHELP] section of
  TOOLS.INI.
                                    --
.context Hgcolor
.context @L80ba
:z3
:nHgcolor Switch
:l20
                                             Up Contents Index Back
Microsoft Editor
 
  Hgcolor (Numeric)
 
  The color of highlighted text. For example, text found by a search is
  highlighted (not selected). Selected text appears in the color specified
  by the Selcolor switch.
 
  Default
 
  Hgcolor:70
 
  The default is black on light gray.
 
  See
 
  Color Values
  Errcolor Fgcolor Infcolor Selcolor Stacolor Wdcolor
                                    --
.context Hike
.context @L80bb
:z3
:nHike Switch
:l20
                                             Up Contents Index Back
Microsoft Editor
 
  Hike (Numeric)
 
  The number of lines from the cursor to the top of the window after you
  move the cursor out of the window by more than the number of lines
  specified by the Vscroll switch.
 
  The minimum value is 1. When the window occupies less than the full
  screen, the value is reduced in proportion to the window size.
 
  Default
 
  Hike:4
 
  See
 
  Hscroll Vscroll
                                    --
.context Hscroll
.context @L80bc
:z3
:nHscroll Switch
:l21
                                             Up Contents Index Back
Microsoft Editor
 
  Hscroll (Numeric)
 
  The number of columns that the editor scrolls the text left or right
  when the you move the cursor out of the window. When the window does not
  occupy the full screen, the amount scrolled is in proportion to the
  window size.
 
  Text is never scrolled in increments greater than the size of the
  window.
 
  Default
 
  Hscroll:10
 
  See
 
  Vscroll
                                    --
.context Infcolor
.context @L80bd
:z3
:nInfcolor Switch
:l18
                                             Up Contents Index Back
Microsoft Editor
 
  Infcolor (Numeric)
 
  The color of informative text.
 
  Default
 
  Infcolor:6
 
  The default is brown or yellow on black, depending on the display.
 
  See
 
  Color Values
  Errcolor Fgcolor Hgcolor Selcolor Stacolor Wdcolor
                                    --
.context Keyboard
.context @L80be
:z3
:nKeyboard Switch (Obsolete)
:l8
                                             Up Contents Index Back
Microsoft Editor
 
  Keyboard (Text)
 
  Ignored. The Keyboard switch is provided for compatibility with previous
  versions of the editor.
                                    --
.context Load
.context @L80bf
:z3
:nLoad Switch
:l39
                                             Up Contents Index Back
Microsoft Editor
 
  Load (Text)
 
  Specifies the filename of an extension to load.
 
  When this switch is assigned a value, the editor loads the specified
  extension. The initialization specified in the extension is performed,
  and the functions and switches defined by the extension become available
  in the editor.
 
  The extension can be loaded during initialization of a TOOLS.INI
  section. You can also load an extension manually by using the Assign
  function to assign a value to the Load switch.
 
  Syntax
 
  Load:[path]basename[.ext]
 
  <path>         Can be a path and include an environment-variable
                 specifier.
                 See: Environment-Variable Specifiers
 
  <basename>     Base name of the extension executable file.
 
  <ext>          Normally you do not specify a file extension. The
                 editor automatically searches for .DLL and .PXT files.
 
  Default
 
  The Load switch has no default value and is initially undefined.
 
  See
 
  Assign Initialize
  Extension Tags in TOOLS.INI
  Editor Loading Sequence
                                    --
.context Markfile
.context @L80c0
:z3
:nMarkfile Switch
:l38
                                             Up Contents Index Back
Microsoft Editor
 
  Markfile (Text)
 
  Specifies the name of the file the editor uses to save marks.
 
  When no mark file is open (that is, no value is currently defined for
  Markfile), marks are kept in memory and they are lost when you exit the
  editor.
 
  To open a mark file, use the Assign function to assign a value to the
  Markfile switch.
 
  To close a mark file without opening a new one, assign an empty value to
  the Markfile switch (set 'Markfile:').
 
  To set a permanent mark file that is used for every session, place a
  Markfile definition in the main section of TOOLS.INI.
 
  Syntax
 
  Markfile: <filename>
 
  <filename>     The name of the file containing mark definitions.
 
  Default
 
  Markfile:
 
  The Markfile switch has no default value and is initially undefined.
 
  See
 
  Assign Mark
  Mark File Format
  Configuring the Editor With TOOLS.INI
                                    --
.context markfile.format
.context @L80c1
:z3
:nMark File Format
:l11
                                             Up Contents Index Back
Microsoft Editor
 
  A mark file is a text file containing mark definitions of the form:
 
  markname filename line column
 
  The mark <markname> is defined as the location given by <line> and
  <column> in the file <filename>. The <markname> cannot contain spaces
  and cannot be a number.
                                    --
.context Msgflush
.context @L80c2
:z3
:nMsgflush Switch
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Msgflush (Boolean)
 
  Determines if previous results are retained in the <compile> file or
  flushed when a new compile or search is started.
 
  Syntax
 
  Msgflush:{ yes  no }
 
  yes    Flush previous results when a new compile or search is started
 
  no     Save previous results
 
  Default
 
  Msgflush:yes
 
  See
 
  Nextmsg
  Boolean Switch Syntax
                                    --
.context Noise
.context @L80c3
:z3
:nNoise Switch
:l15
                                             Up Contents Index Back
Microsoft Editor
 
  Noise (Numeric)
 
  The number of lines counted at a time as the editor traverses a file
  while reading, writing, or searching. The editor displays the line
  counter on the right-hand side of the status bar.
 
  Set Noise to 0 to turn off the display of scanned lines.
 
  Default
 
  Noise:50
                                    --
.context Printcmd
.context @L80c4
:z3
:nPrintcmd Switch
:l32
                                             Up Contents Index Back
Microsoft Editor
 
  Printcmd (Text)
 
  Specifies the program or operating system command that the editor starts
  when you execute the Print function (print).
 
  Syntax
 
  Printcmd: [command]
 
  <command>    An operating-system command line. When omitted, the editor
               copies the file directly to the PRN port.
 
  To pass the filename of the current file, specify '%s' in the command
  line. You can extract parts of the full filename using a special syntax.
  See: Filename-Parts Syntax
 
  Default
 
  Printcmd:
 
  The default specifies that the editor copies the file to the printer
  port. Equivalent to:
 
      Printcmd:COPY %s PRN
 
  See
 
  Print
                                    --
.context Readonly
.context @L80c5
:z3
:nReadonly Switch
:l53
                                             Up Contents Index Back
Microsoft Editor
 
  Readonly (Text)
 
  Specifies the operating-system command invoked when the editor attempts
  to save a read-only file.
 
  When the editor attempts to overwrite a file that is marked read-only on
  disk, the editor informs you that the file is read-only. It also prompts
  you to confirm that the command specified in the Readonly switch is to
  be run. If you decline to run the Readonly command, the editor gives you
  the opportunity to save the file with a different name.
 
  Syntax
 
  Readonly:[command]
 
  <command>    Operating-system command line.
 
  If no command is specified, the editor prompts you to enter a new file
  name to save the file.
 
  To pass the filename of the current file to the command, specify '%s' in
  the command line. You can extract parts of the full path using a special
  syntax.
  See: Filename-Parts Syntax
 
  Caution: Only %s is guaranteed to give the name of the read-only file.
           The %|F syntax gives the current filename (the file displayed
           in the active window), even when the editor is saving a
           different file.
 
  Example:
 
  The Readonly switch setting:
 
      Readonly:Attrib -r %s
 
  removes the read-only attribute from the file on disk so the editor can
  overwrite it.
 
  Default
 
  Readonly:
 
  The Default value specifies that the editor should run no command and
  prompt for a new filename.
 
  See
 
  Editreadonly Noedit Viewonly
                                    --
.context Realtabs
.context @L80c6
:z3
:nRealtabs Switch
:l35
                                             Up Contents Index Back
Microsoft Editor
 
  Realtabs (Boolean)
 
  Determines if the editor preserves tab (ASCII 9) characters on lines
  that you modify or if the editor includes tab characters in white space
  to be converted to either spaces or tabs. The Entab switch determines
  the method used to translate white space.
 
  The Realtabs switch also determines if the Tabalign switch is in effect.
 
  Syntax
 
  Realtabs:{ yes  no }
 
  yes    Tab characters are not converted. The editor converts only
         sequences of space characters.
 
  no     Tab characters are included in the white space to be converted.
 
  Default
 
  Realtabs:yes
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
  Boolean Switch Syntax
                                    --
.context Rmargin
.context @L80c7
:z3
:nRmargin Switch
:l20
                                             Up Contents Index Back
Microsoft Editor
 
  Rmargin (Numeric)
 
  Column number of the beginning of a six-character "probation" zone where
  typing a space wraps the line. After the zone, typing any character
  wraps the current word. This behavior is similar to that of a
  typewriter.
 
  Word wrapping is turned on when the Wordwrap switch is set to yes.
 
  Default
 
  Rmargin:72
 
  See
 
  Wordwrap
                                    --
.context Savescreen
.context @L80c8
:z3
:nSavescreen Switch
:l8
                                             Up Contents Index Back
Microsoft Editor
 
  Savescreen (Boolean)
 
  Ignored. The Savescreen switch is provided for compatibility with
  previous versions of the editor.
                                    --
.context Searchwrap
.context @L80c9
:z3
:nSearchwrap Switch
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Searchwrap (Boolean)
 
  Determines if search functions and replace functions wrap around the
  ends of a file.
 
  Syntax
 
  Searchwrap:{ yes  no }
 
  yes    Searches wrap around the beginning and end of the file
 
  no     Searches stop at the beginning and end of the file
 
  Default
 
  Searchwrap:no
 
  See
 
  Msearch Psearch Replace
  Boolean Switch Syntax
                                    --
.context Selcolor
.context @L80ca
:z3
:nSelcolor Switch
:l18
                                             Up Contents Index Back
Microsoft Editor
 
  Selcolor (Numeric)
 
  The color of selected text.
 
  Default
 
  Selcolor:70
 
  The default is black on white.
 
  See
 
  Color Values
  Errcolor Fgcolor Hgcolor Infcolor Stacolor Wdcolor
                                    --
.context Shortnames
.context @L80cb
:z3
:nShortnames Switch
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  Shortnames (Boolean)
 
  Determines if open files can be accessed by their short names (base name
  only).
 
  Syntax
 
  Shortnames:{ yes  no }
 
  yes    You can switch to an open file by specifying only the base name
         to Setfile (setfile).
 
  no     You must specify the extension as well as the base name to switch
         to a file.
 
  Default
 
  Shortnames:yes
 
  See
 
  Setfile
  Boolean Switch Syntax
                                    --
.context Snow
.context @L80cc
:z3
:nSnow Switch (Obsolete)
:l8
                                             Up Contents Index Back
Microsoft Editor
 
  Snow (Boolean)
 
  Ignored. The Snow switch is provided for compatibility with previous
  versions of the editor.
                                    --
.context Softcr
.context @L80cd
:z3
:nSoftcr Switch
:l29
                                             Up Contents Index Back
Microsoft Editor
 
  Softcr (Boolean)
 
  Controls indentation of new lines based on the format of surrounding
  text when you execute the Emacsnewl (emacsnewl) and Newline
  (newline) functions.
 
  Syntax
 
  Softcr:{ yes  no }
 
  yes    Indent new lines.
 
  no     Do not indent new lines.
 
         After executing Emacsnewl or Newline, the cursor is placed in
         column 1.
 
  Default
 
  Softcr:yes
 
  See
 
  Emacsnewl Newline
  Boolean Switch Syntax
                                    --
.context Stacolor
.context @L80ce
:z3
:nStacolor Switch
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Stacolor (Numeric)
 
  The color of status-bar information.
 
  Default: 03
 
  The default is cyan on black.
 
  See
 
  Color Values
  Errcolor Fgcolor Hgcolor Infcolor Selcolor Wdcolor
                                    --
.context Tabalign
.context @L80cf
:z3
:nTabalign Switch
:l42
                                             Up Contents Index Back
Microsoft Editor
 
  Tabalign (Boolean)
 
  Determines the positioning of the cursor when it enters a tab field. A
  tab field is the area of the screen representing a tab character (ASCII
  9) in the file. The width of a tab field is specified by the Filetab
  switch.
 
  The Tabalign switch takes effect only when the Realtabs switch is set to
  Yes.
 
  Syntax
 
  Tabalign:{ yes  no }
 
  yes    The editor aligns the cursor to the beginning of the tab field
         when the cursor enters the tab field. The cursor is placed on the
         actual tab character in the file.
 
  no     The editor does not align the cursor within the tab field.
 
         You can place the cursor on any column in the tab field. When you
         type a character at this position, the editor inserts enough
         leading space to ensure that the character appears in the same
         column.
 
  Default
 
  Tabalign:no
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
  Boolean Switch Syntax
                                    --
.context Tabdisp
.context @L80d0
:z3
:nTabdisp Switch
:l27
                                             Up Contents Index Back
Microsoft Editor
 
  Tabdisp (Numeric)
 
  The decimal ASCII code of the character used to display tab (ASCII 9)
  characters in your file. If you specify 0 or 255, the editor uses the
  space (ASCII 32) character.
 
  It is sometimes useful to set Tabdisp to the code for a graphic
  character so that tabs can be distinguished from spaces.
 
  Default
 
  Tabdisp:32
 
  The Default value 32 specifies the ASCII space character.
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
                                    --
.context Tabstops
.context @L80d1
:z3
:nTabstops Switch
:l31
                                             Up Contents Index Back
Microsoft Editor
 
  Tabstops (Numeric)
 
  Specifies the tab stops used by the Tab and Backtab functions. Tab moves
  the cursor to the next tab stop; Backtab moves the cursor to the
  previous tab stop.
 
  NOTE: The Tabstops switch has no effect on the handling of tab (ASCII 9)
        characters in a file.
 
  Syntax
 
  Tabstops: tabwidth
 
  <tabwidth>    The width of a tab stop.
 
  Default
 
  Tabstops:4
 
  See
 
  Tab Handling: Entab Filetab Realtabs Tabalign Tabdisp
                How Tabs are Displayed
 
  Cursor Movement: Backtab Tab Tabstops
 
  Entering Tab Characters
                                    --
.context Tmpsav
.context @L80d2
:z3
:nTmpsav Switch
:l15
                                             Up Contents Index Back
Microsoft Editor
 
  Tmpsav (Numeric)
 
  The maximum number of files kept in the file history between sessions.
 
  When Tmpsav is 0, the editor lets the file history grow without limit;
  all files loaded into the editor appear in this list until you delete
  the editor .TMP file or change the value of the Tmpsav switch.
 
  Default
 
  Tmpsav:20
                                    --
.context Traildisp
.context @L80d3
:z3
:nTraildisp Switch
:l17
                                             Up Contents Index Back
Microsoft Editor
 
  Traildisp (Numeric)
 
  The decimal ASCII code for the character used to display trailing spaces
  on a line. If you specify 0 or 255, the editor uses the space (ASCII 32)
  character.
 
  Default
 
  Traildisp:0
 
  See
 
  Trailspace
                                    --
.context Trailspace
.context @L80d4
:z3
:nTrailspace Switch
:l28
                                             Up Contents Index Back
Microsoft Editor
 
  Trailspace (Boolean)
 
  Determines if the editor preserves or removes trailing spaces from lines
  that you modify.
 
  You can make trailing spaces visible by setting the Traildisp switch to
  a value other than 0 or 32.
 
  Syntax
 
  Trailspace:{ yes  no }
 
  yes    Preserve trailing spaces on lines as they are changed
 
  no     Remove trailing spaces from lines as they are changed
 
  Default
 
  Trailspace:no
 
  See
 
  Traildisp
  Boolean Switch Syntax
                                    --
.context Undelcount
.context @L80d5
:z3
:nUndelcount Switch
:l17
                                             Up Contents Index Back
Microsoft Editor
 
  Undelcount (Numeric)
 
  The maximum number of backup copies of a given file saved by the editor.
 
  This switch is used only when the Backup switch is set to "undel".
 
  Default
 
  Undelcount:32767
 
  See
 
  Backup
                                    --
.context Undocount
.context @L80d6
:z3
:nUndocount Switch
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Undocount (Numeric)
 
  The maximum number of edits per file that you can reverse with the Undo
  function (Undo).
 
  Default
 
  Undocount:10
 
  See
 
  Undo
                                    --
.context Unixre
.context @L80d7
:z3
:nUnixre Switch
:l26
                                             Up Contents Index Back
Microsoft Editor
 
  Unixre (Boolean)
 
  Determines if the editor uses UNIX regular-expression syntax or
  Microsoft regular-expression syntax for search and replace commands.
 
  Syntax
 
  Unixre:{ yes  no }
 
  yes    Use UNIX regular-expression
 
  no     Use Microsoft regular-expression syntax
 
  Default
 
  Unixre:yes
 
  See
 
  Mgrep Msearch Psearch Replace
  Regular Expressions
  Boolean Switch Syntax
                                    --
.context Usemouse
.context @L80d8
:z3
:nUsemouse Switch
:l47
                                             Up Contents Index Back
Microsoft Editor
 
  Usemouse (Boolean)
 
  Determines if the editor supports the mouse. When the mouse is enabled,
  you can do the following things with the mouse:
 
  Description                   Mouse Action
 
  Change the cursor location    Click the new location
 
  Select text                   Drag
 
                                Once a selection is begun, the selection
                                remains active until you execute a
                                function for the selected text or cancel.
 
                                To extend the selection, click.
 
                                To cancel the selection, execute the
                                Cancel function (cancel).
 
  Change the selection mode     Click both buttons while dragging or when
                                a selection is active. Equivalent to
                                executing Boxstream (boxstream).
 
  See Help for a word           Click the word with the right mouse button
 
  Syntax
 
  Usemouse:{ yes  no }
 
  yes    Enable the mouse
 
  no     Disable the mouse
 
  Default
 
  Usemouse:no
 
  See
 
  Arg Boxstream Cancel Enterboxmode
  Selection Modes (Defined) Selection Modes (Setting)
  Boolean Switch Syntax
                                    --
.context Viewonly
.context @L80d9
:z3
:nViewonly Switch
:l24
                                             Up Contents Index Back
Microsoft Editor
 
  Viewonly (Boolean)
 
  Determines if the editor starts in no-edit mode.
 
  Syntax
 
  Viewonly:{ yes  no }
 
  yes    Starts in no-edit mode. Identical to the /r command-line option.
 
  no     Starts in edit mode.
 
  Default
 
  Viewonly:no
 
  See
 
  Editreadonly Noedit Readonly
  Boolean Switch Syntax
                                    --
.context Vscroll
.context @L80da
:z3
:nVscroll Switch
:l25
                                             Up Contents Index Back
Microsoft Editor
 
  Vscroll (Numeric)
 
  The number of lines scrolled when you move the cursor out of the window.
  When the window is smaller than the full screen, the amount scrolled is
  in proportion to the window size.
 
  The minimum value for Vscroll is 1. Text is never scrolled in increments
  greater than the size of the window.
 
  The Mlines and Plines functions scroll according to the value of the
  Vscroll switch.
 
  Default
 
  Vscroll:1
 
  See
 
  Hscroll
  Mlines
  Plines
                                    --
.context Wdcolor
.context @L80db
:z3
:nWdcolor Switch
:l16
                                             Up Contents Index Back
Microsoft Editor
 
  Wdcolor (Numeric)
 
  The color of the border between windows.
 
  Default
 
  Wdcolor:7
 
  See
 
  Color Values
  Errcolor Fgcolor Hgcolor Infcolor Selcolor Stacolor
                                    --
.context Width
.context @L80dc
:z3
:nWidth Switch
:l15
                                             Up Contents Index Back
Microsoft Editor
 
  Width (Numeric)
 
  The width (number of columns) of the display.
 
  Default
 
  Width:80
 
  See
 
  Height
                                    --
.context Wordwrap
.context @L80dd
:z3
:nWordwrap Switch
:l29
                                             Up Contents Index Back
Microsoft Editor
 
  Wordwrap (Boolean)
 
  Determines if the editor performs automatic word-wrapping as you type.
 
  When word wrapping is turned on, the Rmargin switch specifies the
  beginning of a six-character "probation" zone where typing a space wraps
  the line. After the zone, typing any character wraps the current word.
  This behavior is similar to that of a typewriter.
 
  Syntax
 
  Wordwrap:{ yes  no }
 
  yes    Wrap words as you type
 
  no     Do not wrap
 
  Default
 
  Wordwrap:no
 
  See
 
  Rmargin
  Boolean Switch Syntax
                                    --
:l2
 
                                    --
.context !
.context @L80de
:z7
:nMicrosoft Editor Index
:l29
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    ""                       Macro String Syntax
    %%                       Filename-Parts Syntax
    %|...                    Filename-Parts Syntax
    +>                       Macro Conditionals (Looping)
    ->                       Macro Conditionals (Looping)
    :                        Predefined Regular Expressions
    :>                       Macro Conditionals (Looping)
    <                        Macro Prompt Directives
    =>                       Macro Conditionals (Looping)
    \                        Backslash: TOOLS.INI Line Continuation
                             Macro String Syntax
                             UNIX Regular Expressions
                             Microsoft Regular Expressions
    \:                       Predefined Regular Expressions
    \:.^$*+~![](){}          UNIX Regular Expression Summary
    \:?^$*+@#~![](){}        Microsoft Regular Expression Summary
    \{...\!...\}             UNIX Regular Expression Summary
    {...!...}                Microsoft Regular Expression Summary
                                    --
.context pwb.index
.context @L80df
:z7
:nMicrosoft Editor Index
:l35
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    align                    Aligning Tagged Expressions
    alphanumeric characters  Predefined Regular Expressions
    Arg                      Arg Function
                             Meta Function
    arguments                markarg
                             numarg
                             Selection Modes and Arguments (Defined)
                             Cancel Function
                             Lastselect Function
                             Lasttext Function
                             Meta Function
    ASCII                    Making a Keystroke Literal
                             Inserting ASCII Characters
    Askexit                  Askexit Switch
    Askrtn                   Askrtn Switch
    Assign                   Assign Function
    assign keys              Assign Function
    <assign>                 Configuring the Editor With the <assign> File
    assigning keys and functions
                             Configuring the Editor With the <assign> File
    autoindent               Softcr Switch
    autoload                 Editor Extension Autoload
    Autosave                 Autosave Switch
    Autostart                Autostart Macro
                                    --
.context b
.context @L80e0
:z7
:nMicrosoft Editor Index
:l29
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    backslash                Backslash: TOOLS.INI Line Continuation
                             Macro String Syntax
                             UNIX Regular Expressions
                             Microsoft Regular Expressions
    Backtab                  Backtab Function
    Backup                   Backup Switch
                             Undelcount Switch
    basename                 Filename-Parts Syntax
    Begfile                  Begfile Function
    Begline                  Begline Function
    blanks                   Predefined Regular Expressions
    Boolean                  Editor Switches (List by Type)
                             Boolean Switch Syntax
    box selection            Selection Modes and Arguments (Defined)
    boxarg                   Selection Modes and Arguments (Defined)
                             Arg Function
    Boxstream                Boxstream Function
    buffer                   Pseudofile
                                    --
.context c
.context @L80e1
:z7
:nMicrosoft Editor Index
:l83
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Cancel                   Cancel Function
    Case                     Case Switch
    Cdelete                  Cdelete Function
    character                Graphic Function
    character, literal       Macro String Syntax
    characters               Making a Keystroke Literal
                             Inserting ASCII Characters
                             Predefined Regular Expressions
    clipboard                Copy Function
                             Delete Function
                             Paste Function
    closing files            Closing a File without Saving
                             Refresh Function
    color                    Errcolor Switch
                             Fgcolor Switch
                             Hgcolor Switch
                             Infcolor Switch
                             Selcolor Switch
                             Stacolor Switch
                             Wdcolor Switch
    colors                   Color Switch Values
    command line             MEP Command-Line Syntax
    commands                 Alphabetical List of Functions
    commands, manipulating   Command Manipulation
    comment                  Semicolon: TOOLS.INI Comment
    Compile                  Compile Function
                             Askrtn Switch
                             Extmake Switch
    conditional test         Macro Conditionals (Looping)
    contents                 Microsoft Editor Contents
    continued lines          Backslash: TOOLS.INI Line Continuation
    Copy                     Copy Function
                             Paste Function
    counting                 Noise Switch
    Curdate                  Curdate Function
    Curday                   Curday Function
    curfile                  Curfile Macro
    Curfileext               Curfileext Macro
    curfilenam               Curfilenam Macro
    current directory        How to Change Directories
    cursor                   Backtab Function
                             Begfile Function
                             Begline Function
                             Down Function
                             Endfile Function
                             Endline Function
                             Home Function
                             Left Function
                             Mark Function
                             Mlines Function
                             Mpage Function
                             Mpara Function
                             Mword Function
                             Nextmsg Function
                             Pbal Function
                             Plines Function
                             Ppage Function
                             Ppara Function
                             Pword Function
                             Restcur Function
                             Right Function
                             Savecur Function
                             Tab Function
                             Up Function
    cursor position          Displaycursor Switch
    cursor, moving           Cursor Movements
                             Goto/Mark Functions
    Cursorsize               Cursorsize Switch
    Curtime                  Curtime Function
    customize                About TOOLS.INI
                             Configuring the Editor With the <assign> File
                             Tell Tips
                                    --
.context d
.context @L80e2
:z7
:nMicrosoft Editor Index
:l50
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    date                     Curdate Function
    day                      Curday Function
    default                  File-Extension Tags in TOOLS.INI
    define macros            Assign Function
    delete                   Insert/Delete Functions
                             Cdelete Function
                             Copy Function
                             Delete Function
                             Emacscdel Function
                             Ldelete Function
                             Linsert Function
                             Paste Function
                             Sdelete Function
    detab                    TOOLS.INI Tagged Section Example
                             Realtabs Switch
    digits                   Predefined Regular Expressions
    directory                Environment-Variable Specifiers
    directory, changing      How to Change Directories
                             Setfile Function
    discarding files         Closing a File without Saving
                             Refresh Function
    display                  Message Function
                             Message Macro Example
                             Setwindow Function
                             Cursorsize Switch
                             Errcolor Switch
                             Fgcolor Switch
                             Hgcolor Switch
                             Infcolor Switch
                             Savescreen Switch
                             Selcolor Switch
                             Stacolor Switch
                             Wdcolor Switch
    display height           Height Switch
    Displaycursor            Displaycursor Switch
    Down                     Down Function
    drive                    Environment-Variable Specifiers
                             Filename-Parts Syntax
    drive, changing          Setfile Function
                                    --
.context e
.context @L80e3
:z7
:nMicrosoft Editor Index
:l56
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    editing                  Making a Keystroke Literal
                             Inserting ASCII Characters
    editor                   About TOOLS.INI
                             Loading Sequence
                             Editor Extension Autoload
    editor extension         About Editor Extensions
    editor Help              Help Overview
    Editreadonly             Editreadonly Switch
                             Readonly Switch
                             Viewonly Switch
    Emacscdel                Emacscdel Function
    Emacsnewl                Emacsnewl Function
    Endfile                  Endfile Function
    Endline                  Endline Function
    Entab                    Entab Switch
                             Realtabs Switch
    Enterboxmode             Enterboxmode Switch
    Enterinsmode             Enterinsmode Switch
    Environment              Environment Function
    environment variable     Environment-Variable Specifiers
    Errcolor                 Errcolor Switch
    errors                   Nextmsg Function
                             Errprompt Switch
    Errprompt                Errprompt Switch
    escape sequence          Macro String Syntax
    Execute                  Execute Function
    Exit                     Exit Function
                             Askexit Switch
    EXP                      Backup Switch
    expressions, regular     Regular Expressions
                             UNIX Regular Expression Summary
                             Tagged Regular Expressions
                             Aligning Tagged Expressions
                             Predefined Regular Expressions
                             Microsoft Regular Expression Summary
    extension                About Editor Extensions
                             Editor Extension Search Order
                             Editor Extension Autoload
    extension tags           Extension Tags in TOOLS.INI
    extension, editor        Extension Tags in TOOLS.INI
    extension, file          Curfileext Macro
                             File-Extension Tags in TOOLS.INI
                             Filename-Parts Syntax
    extension, loading       Load Switch
    Extmake                  Extmake Switch
                                    --
.context f
.context @L80e4
:z7
:nMicrosoft Editor Index
:l66
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    %|F                      Filename-Parts Syntax
    Fgcolor                  Fgcolor Switch
    file                     File Operations
                             Begfile Function
                             Endfile Function
                             Print Function
                             Setfile Function
    file extension, tag      File-Extension Tags in TOOLS.INI
    file history             Tmpsav Switch
    file, discarding changes Closing a File without Saving
    file, pseudo             Pseudofile
    filename                 Curfile Macro
                             Curfilenam Macro
                             Curfileext Macro
                             Filename-Parts Syntax
    filenames                Predefined Regular Expressions
                             Shortnames Switch
    files                    Environment-Variable Specifiers
                             Refresh Function
    files, #include          Lasttext Macro Example
    files, Help              Helpfiles Switch
    files, merging           Paste Function
    files, read-only         Noedit Function
                             Editreadonly Switch
                             Readonly Switch
                             Viewonly Switch
    files, saving            Autosave Switch
    files, searching multiple
                             Mgreplist Macro
                             Mgrep Function
    Filetab                  Filetab Switch
    find                     Find and Replace Functions
                             Mgrep Function
                             Mreplace Function
                             Msearch Function
                             Psearch Function
                             Qreplace Function
                             Replace Function
                             Searchall Function
    finding                  Nextmsg Function
    finding text             Regular Expressions
                             Case Switch
                             Searchwrap Switch
    format, mark file        Mark File Format
    function arguments       markarg
                             numarg
                             Selection Modes and Arguments (Defined)
                             Arg Function
                             Cancel Function
                             Lastselect Function
                             Lasttext Function
                             Meta Function
    function, assign to key  Configuring the Editor With the <assign> File
    functions                Alphabetical List of Functions
                             Command Manipulation
                                    --
.context g
.context @L80e5
:z7
:nMicrosoft Editor Index
:l17
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    goto                     Macro Conditionals (Looping)
                             Cursor Movements
                             Goto/Mark Functions
    goto line                Mark Function
    Graphic                  Graphic Function
    grep                     Mgrep Function
                                    --
.context h
.context @L80e6
:z7
:nMicrosoft Editor Index
:l28
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Height                   Height Switch
    Help                     Help Overview
    Help, prompting for      Prompt Macro Example
    helpboldcolor            Help Color Switches
    helpcolor                Help Color Switches
    Helpfiles                Helpfiles Switch
    helpitalcolor            Help Color Switches
    Helpnl                   Helpnl Macro
    helpundrcolor            Help Color Switches
    helpwarncolor            Help Color Switches
    Helpwindow               Helpwindow Switch
    hexadecimal numbers      Predefined Regular Expressions
    Hgcolor                  Hgcolor Switch
    Hike                     Hike Switch
    hilight                  Lastselect Function
    Home                     Home Function
    Hscroll                  Hscroll Switch
                                    --
.context i
.context @L80e7
:z7
:nMicrosoft Editor Index
:l45
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    identifiers              Predefined Regular Expressions
    if                       Macro Conditionals (Looping)
    ignoring keys            Noedit Function
    include files            Lasttext Macro Example
    indent                   Backtab Function
                             Emacsnewl Function
                             Newline Function
                             Tab Function
    indentation              Softcr Switch
    indenting                Linsert Function
                             Linsert Macro Example
    Infcolor                 Infcolor Switch
    Information              Information Function
                             Tell Function
                             Displaycursor Switch
    Initialize               Initialize Function
    insert                   Insert/Delete Functions
                             Copy Function
                             Curdate Function
                             Curday Function
                             Curtime Function
                             Insert Function
                             Linsert Function
                             Paste Function
                             Pbal Function
                             Quote Function
                             Sinsert Function
                             Tell Function
    insert mode              Insertmode Function
                             Enterinsmode Switch
    inserting                Making a Keystroke Literal
                             Inserting ASCII Characters
    Insertmode               Insertmode Function
    integers                 Predefined Regular Expressions
                                    --
.context j
.context @L80e8
:z7
:nMicrosoft Editor Index
:l15
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    jump                     Cursor Movements
                             Goto/Mark Functions
                             Mark Function
    justify                  Aligning Tagged Expressions
                                    --
.context k
.context @L80e9
:z7
:nMicrosoft Editor Index
:l20
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    key                      Tell Function
                             Tell Tips
    key, assigning           Configuring the Editor With the <assign> File
    Keyboard                 Keyboard Switch (Obsolete)
    keyboard literal         Graphic Function
    keys                     Noedit Function
    keys, assigning          Assign Function
    keys, unassigned         Unassigned Function
    keystrokes, literal      Making a Keystroke Literal
                                    --
.context l
.context @L80ea
:z7
:nMicrosoft Editor Index
:l44
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    label, macro             Macro Conditionals (Looping)
    Lastselect               Lastselect Function
    Lasttext                 Lasttext Function
    Ldelete                  Ldelete Function
    Left                     Left Function
    line                     Begline Function
                             Emacsnewl Function
                             Endline Function
                             Insert Function
                             Newline Function
                             Sinsert Function
    line continuation        Backslash: TOOLS.INI Line Continuation
    line selection           Selection Modes and Arguments (Defined)
    line, current            Displaycursor Switch
    line, goto               Mark Function
    linearg                  Selection Modes and Arguments (Defined)
                             Arg Function
    lines, deleting          Ldelete Function
    lines, indenting         Linsert Function
    lines, new               Linsert Function
                             Softcr Switch
    Linsert                  Linsert Function
    list of files to search  Mgreplist Macro
    literal                  Making a Keystroke Literal
                             Inserting ASCII Characters
                             Quote Function
    literal character        Macro String Syntax
    literal key              Graphic Function
    load                     Load Switch
    load, extension          Editor Extension Search Order
                             Editor Extension Autoload
    loading sequence         Loading Sequence
    loop, macro              Macro Conditionals (Looping)
                                    --
.context m
.context @L80eb
:z7
:nMicrosoft Editor Index
:l121
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Macro                    Writing Macros
                             Macro Conditionals (Looping)
                             Macro String Syntax
                             Regular Expressions in Macro Strings
                             Text Macros
                             Macro Prompt Directives
                             Macro Recording
                             Assign Function
                             Execute Function
                             Initialize Function
                             Message Function
                             Mgrep Function
                             Prompt Function
                             Record Function
                             Tell Function
                             Tell Tips
    macro, assign to key     Configuring the Editor With the <assign> File
    macro, defining          Defining Macros (Macro Syntax)
    macro, example           Curfile Macro
                             Curfilenam Macro
                             Curfileext Macro
                             TOOLS.INI Tagged Section Example
                             List of Macro Examples
                             Macro Conditionals (Looping)
                             Macro Conditional Example
                             Macro Looping Examples
                             Regular Expressions in Macro Strings
                             Macro Example: Expanding Text Abbreviations
                             Macro Prompt Directive Examples
                             Begline Macro Example
                             Lasttext Macro Example
                             Linsert Macro Example
                             Message Macro Example
                             Prompt Macro Example
                             Replace Macro Example
                             Right Macro Example
                             Sinsert Macro Example
    macro, running at startup
                             MEP Command-Line Syntax
    macro, special           Mgreplist Macro
    macro, startup           Autostart Macro
    manipulating commands    Command Manipulation
    margins                  Rmargin Switch
                             Wordwrap Switch
    Mark                     Mark Function
    mark file                Mark File Format
    markarg                  markarg
    Markfile                 Markfile Switch
    matches                  Nextmsg Function
    maximal matching         Minimal and Maximal Matching Methods
    MEP                      MEP Command-Line Syntax
                             About TOOLS.INI
                             Loading Sequence
    MEP Help                 Help Overview
    MEP.TMP                  Loading Sequence
                             Editor .TMP File (MEP.TMP)
    Message                  Message Function
    messages                 Nextmsg Function
    Meta                     Arg Function
                             Meta Function
    Mgrep                    Regular Expressions
                             Mgrep Function
                             Nextmsg Function
    Mgreplist                Mgreplist Macro
                             Mgrep Function
    Mh.index                 Help Overview
    Mhback                   Help Overview
    Mhelp                    Help Overview
    Mhelpnext                Help Overview
    Microsoft                Microsoft Regular Expressions
                             Microsoft Regular Expression Summary
    minimal matching         Minimal and Maximal Matching Methods
    Mlines                   Mlines Function
    mode, selection          Selection Modes and Arguments (Defined)
    mouse, enabling          Usemouse Switch
    mouse, using             Usemouse Switch
    move the cursor          Backtab Function
                             Begfile Function
                             Begline Function
                             Down Function
                             Endfile Function
                             Endline Function
                             Home Function
                             Left Function
                             Mark Function
                             Mlines Function
                             Mpage Function
                             Mpara Function
                             Mword Function
                             Nextmsg Function
                             Pbal Function
                             Plines Function
                             Ppage Function
                             Ppara Function
                             Pword Function
                             Restcur Function
                             Right Function
                             Savecur Function
                             Tab Function
                             Up Function
    moving the cursor        Cursor Movements
                             Goto/Mark Functions
    Mpage                    Mpage Function
    Mpara                    Mpara Function
    Mreplace                 Regular Expressions
                             Mreplace Function
    Msearch                  Regular Expressions
                             Msearch Function
    Msgflush                 Msgflush Switch
    Mword                    Mword Function
                                    --
.context n
.context @L80ec
:z7
:nMicrosoft Editor Index
:l52
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    <n                       Macro Prompt Directives
    navigation               Cursor Movements
                             Goto/Mark Functions
                             Backtab Function
                             Begfile Function
                             Begline Function
                             Down Function
                             Endfile Function
                             Endline Function
                             Home Function
                             Left Function
                             Mark Function
                             Mlines Function
                             Mpage Function
                             Mpara Function
                             Mword Function
                             Nextmsg Function
                             Pbal Function
                             Plines Function
                             Ppage Function
                             Ppara Function
                             Pword Function
                             Restcur Function
                             Right Function
                             Savecur Function
                             Tab Function
                             Up Function
    Newline                  Newline Function
    Nextmsg                  Nextmsg Function
    No-Edit mode             MEP Command-Line Syntax
                             Noedit Function
                             Editreadonly Switch
                             Readonly Switch
                             Viewonly Switch
    Noedit                   Noedit Function
    Noise                    Noise Switch
    Noop                     Noedit Function
    numarg                   numarg
    numbers                  Predefined Regular Expressions
    numbers, hexadecimal     Predefined Regular Expressions
    numeric                  Editor Switches (List by Type)
                                    --
.context o
.context @L80ed
:z7
:nMicrosoft Editor Index
:l15
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    operating system         Shell Function
    options                  MEP Command-Line Syntax
    overtype mode            Insertmode Function
                             Enterinsmode Switch
                                    --
.context p
.context @L80ee
:z7
:nMicrosoft Editor Index
:l38
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Paste                    Copy Function
                             Paste Function
    path                     Environment-Variable Specifiers
                             Filename-Parts Syntax
    patterns                 Regular Expressions
                             UNIX Regular Expression Summary
                             Tagged Regular Expressions
                             Predefined Regular Expressions
                             Microsoft Regular Expression Summary
    Pbal                     Pbal Function
    Plines                   Plines Function
    Ppage                    Ppage Function
    Ppara                    Ppara Function
    Print                    Print Function
    Printcmd                 Printcmd Switch
    programming, editor      Writing Macros
    prompt                   Macro Prompt Directives
                             Message Function
                             Prompt Function
                             Prompt Macro Example
                             Askexit Switch
                             Askrtn Switch
    protected, file          Readonly Switch
    Psearch                  Regular Expressions
                             Psearch Function
    pseudofile               Pseudofile
    Pword                    Pword Function
                                    --
.context q
.context @L80ef
:z7
:nMicrosoft Editor Index
:l17
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Qreplace                 Qreplace Function
    quick reference          Function Quick Summary
    quit                     Exit Function
                             Askexit Switch
    Quote                    Quote Function
    quoted strings           Predefined Regular Expressions
                                    --
.context r
.context @L80f0
:z7
:nMicrosoft Editor Index
:l48
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Readonly                 Noedit Function
                             Editreadonly Switch
                             Readonly Switch
                             Viewonly Switch
    Realtabs                 Realtabs Switch
    Record                   Macro Recording
                             Record Function
    redo                     Undo Function
    reference                Function Quick Summary
    refresh                  Message Function
                             Message Macro Example
                             Refresh Function
    regular expressions      Regular Expressions
                             UNIX Regular Expressions
                             UNIX Regular Expression Summary
                             Tagged Regular Expressions
                             Aligning Tagged Expressions
                             Predefined Regular Expressions
                             Microsoft Regular Expressions
                             Microsoft Regular Expression Summary
                             Minimal and Maximal Matching Methods
                             Unixre Switch
    Repeat                   Repeat Function
                             Undo Function
    Replace                  Regular Expressions
                             Find and Replace Functions
                             Mreplace Function
                             Qreplace Function
                             Replace Function
    replacing in macros      Replace Macro Example
    rereading files          Refresh Function
    response                 Macro Prompt Directives
    Restcur                  Restcur Function
    Right                    Right Function
    RM                       Backup Switch
    Rmargin                  Rmargin Switch
    row, current             Displaycursor Switch
                                    --
.context s
.context @L80f1
:z7
:nMicrosoft Editor Index
:l104
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    %s                       Filename-Parts Syntax
    Saveall                  Saveall Function
    Savecur                  Savecur Function
    Savescreen               Savescreen Switch
    Savetmpfile              Savetmpfile Function
    scratch file             Pseudofile
    screen                   Message Function
                             Message Macro Example
                             Setwindow Function
                             Cursorsize Switch
                             Errcolor Switch
                             Fgcolor Switch
                             Hgcolor Switch
                             Infcolor Switch
                             Savescreen Switch
                             Selcolor Switch
                             Stacolor Switch
                             Wdcolor Switch
    screen height            Height Switch
    scrolling                Mark Function
                             Mlines Function
                             Plines Function
                             Ppage Function
                             Setwindow Function
                             Window Function
                             Hike Switch
                             Hscroll Switch
                             Vscroll Switch
    Sdelete                  Sdelete Function
    search                   Find and Replace Functions
                             Mgrep Function
                             Mreplace Function
                             Msearch Function
                             Psearch Function
                             Qreplace Function
                             Replace Function
                             Searchall Function
    search list              Mgreplist Macro
    search order, extension  Editor Extension Search Order
    Searchall                Regular Expressions
                             Searchall Function
    searching                Regular Expressions
                             Nextmsg Function
                             Case Switch
    Searchwrap               Searchwrap Switch
    sections, loading        Named Sections in TOOLS.INI
    sections, TOOLS.INI      Loading Sequence
                             Extension Tags in TOOLS.INI
                             File-Extension Tags in TOOLS.INI
    Selcolor                 Selcolor Switch
    selecting text           Arg Function
    selection                markarg
                             numarg
                             Lastselect Function
                             Enterboxmode Switch
    selection , clearing     Cancel Function
    selection mode           Selection Modes and Arguments (Defined)
                             Boxstream Function
    Setfile                  Setfile Function
    settings                 About TOOLS.INI
    Setwindow                Setwindow Function
    shell                    Compile Function
                             Shell Function
                             Askrtn Switch
                             Extmake Switch
    Shortnames               Shortnames Switch
    Sinsert                  Sinsert Function
    Snow                     Snow Switch (Obsolete)
    Softcr                   Softcr Switch
    spaces, trailing         Traildisp Switch
                             Trailspace Switch
    spawn                    Compile Function
    Stacolor                 Stacolor Switch
    startup sequence         Loading Sequence
    state file               Editor .TMP File (MEP.TMP)
    status bar               Displaycursor Switch
    stream selection         Selection Modes and Arguments (Defined)
    streamarg                Selection Modes and Arguments (Defined)
                             Arg Function
    string                   Macro String Syntax
    strings, quoted          Predefined Regular Expressions
    summary                  Function Quick Summary
    switch                   Configuring the Editor With the <assign> File
    switches                 About TOOLS.INI
                             Editor Switches (Alphabetical List)
                             Editor Switches (List by Type)
                             Boolean Switch Syntax
    syntax                   MEP Command-Line Syntax
                             Regular Expressions
                             Filename-Parts Syntax
                             Boolean Switch Syntax
    syntax, selecting regular expression
                             Unixre Switch
                                    --
.context t
.context @L80f2
:z7
:nMicrosoft Editor Index
:l56
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Tab                      Tab Function
    Tabalign                 Tabalign Switch
    Tabdisp                  Tabdisp Switch
    table of contents        Microsoft Editor Contents
    tabs                     How Tabs are Displayed
                             Entering Tab Characters
                             TOOLS.INI Tagged Section Example
                             Backtab Function
                             Quote Function
                             Sinsert Macro Example
                             Tab Function
                             Entab Switch
                             Filetab Switch
                             Realtabs Switch
                             Tabalign Switch
    Tabstops                 Tabstops Switch
    tagged regular expressions
                             Tagged Regular Expressions
                             Aligning Tagged Expressions
    tags                     Loading Sequence
                             Tagged Sections in TOOLS.INI
                             Extension Tags in TOOLS.INI
                             File-Extension Tags in TOOLS.INI
                             Named Sections in TOOLS.INI
    Tell                     Tell Function
    testing                  Macro Conditionals (Looping)
    text                     Editor Switches (List by Type)
    text, selecting          Selection Modes and Arguments (Defined)
                             Arg Function
    textarg                  Arg Function
                             Lasttext Function
    time                     Curtime Function
    Tmpsav                   Tmpsav Switch
    TOOLS.INI                About TOOLS.INI
                             Loading Sequence
                             Editor .TMP File (MEP.TMP)
                             Tagged Sections in TOOLS.INI
                             Extension Tags in TOOLS.INI
                             File-Extension Tags in TOOLS.INI
                             Named Sections in TOOLS.INI
                             Semicolon: TOOLS.INI Comment
                             Backslash: TOOLS.INI Line Continuation
                             Macro String Syntax
    Traildisp                Traildisp Switch
    Trailspace               Trailspace Switch
                                    --
.context u
.context @L80f3
:z7
:nMicrosoft Editor Index
:l24
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Unassigned               Unassigned Function
    UNDEL                    Backup Switch
    Undelcount               Undelcount Switch
    Undo                     Undo Function
    Undocount                Undocount Switch
    UNIX                     UNIX Regular Expressions
                             UNIX Regular Expression Summary
    Unixre                   Unixre Switch
    Up                       Up Function
    update                   Message Function
                             Message Macro Example
    Usemouse                 Usemouse Switch
    using Help               Help Overview
                                    --
.context v
.context @L80f4
:z7
:nMicrosoft Editor Index
:l17
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    variable, environment    Environment-Variable Specifiers
    Viewonly                 Noedit Function
                             Editreadonly Switch
                             Readonly Switch
                             Viewonly Switch
    Vscroll                  Vscroll Switch
                                    --
.context w
.context @L80f5
:z7
:nMicrosoft Editor Index
:l25
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    Wdcolor                  Wdcolor Switch
    white space              Predefined Regular Expressions
    Width                    Width Switch
    wildcards                UNIX Regular Expression Summary
                             Microsoft Regular Expression Summary
    window                   Window Functions
                             Window Function
    window position          Displaycursor Switch
    windows                  Setwindow Function
    word                     Mword Function
                             Pword Function
    word wrap                Rmargin Switch
    words                    Predefined Regular Expressions
    Wordwrap                 Wordwrap Switch
                                    --
.context x
.context y
.context z
.context @L80f6
:z7
:nMicrosoft Editor Index
:l12
                                              Up Contents        Back
Microsoft Editor Index
 
    Ŀ
    ABCDEFGHIJKLMNOPQRSTUVWX-Z*
    
 
    <y                       Macro Prompt Directives
                                    --
