home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / INFO / FAQS / OS2FAX2 / OSOTEPM1.FAX < prev    next >
Encoding:
Text File  |  1994-07-20  |  2.7 KB  |  40 lines

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