home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / OTEPM1.FAX < prev    next >
Text File  |  1994-11-28  |  2KB  |  43 lines

  1. Turning Syntax Assist off in EPM.        7/20/94
  2.  
  3. File: osotepm1.fax   5/11/94
  4.  
  5. TITLE:  Turning Syntax Assist off in EPM.
  6.  
  7. DESCRIPTION OF SYMPTOMS:
  8.     In an EPM session, when opening certain files with a supported
  9.     language-specific extension (.C, .CMD, .PAS), hitting 'Space' or
  10.     'Enter' will automatically invoke syntax expansion. For example,
  11.     when editing a rexx file, typing '/*' will invoke EPM to generate
  12.     the proper syntax coupling '*/' after pressing 'Space' or
  13.     'Enter'.
  14.  
  15. SUMMARY OF RESOLUTION:
  16.     Syntax Assist can be turned off dynamically by entering the
  17.     command: EXPAND OFF on the EPM 'Command Dialog' command line or
  18.     you can make the changes permanent by creating a PROFILE.ERX file
  19.     containing:     /* EPM profile */
  20.                      'expand off'
  21.     and turning the 'Profile On' in the Command Dialog.
  22.  
  23. DETAILS OF RESOLUTION:
  24.     1. Syntax Assist can be turned off dynamically.
  25.       a.  start the EPM editor.
  26.       b.  Click on Command.
  27.       c.  Enter 'EXPAND OFF'.
  28.     2. By default, syntax assist is ON.  To change the default:
  29.       a.  Start the EPM editor.
  30.       b.  Enter the following lines:
  31.          /* EPM profile */
  32.          'expand off'
  33.       c.  Click on file.
  34.       d.  Click on 'save as'.
  35.       e.  save the file in the \os2\apps subdirectory with the name:
  36.           PROFILE.ERX
  37.       f.  Click on Command.
  38.       g.  Enter 'PROFILE ON'.
  39.       h.  Click on Options.
  40.       i.  Click on 'Save'.
  41.  
  42. 12/31/99
  43.