home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / epmmac.zip / MYCNF.SMP < prev    next >
Text File  |  1995-01-03  |  3KB  |  63 lines

  1. ; Note:  This is a *sample* MYCNF.E, to guide you in setting up your own
  2. ;        configuration file.  You should not blindly copy this MYCNF.SMP
  3. ;        file to a MYCNF.E file; you might not like the way the defaults
  4. ;        are modified by this file.  In order to prevent you from copying
  5. ;        this directly, we include the following line which will cause an
  6. ;        error if compiled:
  7. *** MYCNF.SMP is a *sample* configuration; please create your own MYCNF.E.
  8.  
  9. ; Note to EPM users:  EPMGCNF.SMP is the MYCNF.E used to build the
  10. ;        OS/2 2.0 Enhanced Editor.  OS2TOOLS.CFG is the MYCNF.E used to
  11. ;        build the .ex files shipped with the EPM package internally.
  12.  
  13. ;        Now, on with the examples.
  14.  
  15. compile if EVERSION < 5        -- Setup customization for E3 and EOS2
  16.  
  17.   set coms  1 'c:\e3\'         -- (EPM doesn't use COMS.E.)
  18.  
  19. compile endif
  20.  
  21. set insert_state 0             -- I prefer to have insert initially off
  22.  
  23. const
  24.    AUTOSAVE_PATH    = 'c:\oldfiles\'  -- Put AUTOSAVE files here.
  25.    ENTER_ACTION     = 'ADDATEND'      -- I don't like Enter to insert a line;
  26.    C_ENTER_ACTION   = 'ADDLINE'       -- I prefer Ctrl-enter to do that.
  27.    P_SYNTAX_ASSIST  = 0               -- I don't program in Pascal; save space.
  28.    ASSIST_TRIGGER   = 'C_ENTER'       -- Set to what I use to enter a line.
  29.    SMARTFILE        = 1               -- If no changes, File key just quits.
  30.    SMARTQUIT        = 1               -- If changes, Quit says "Y, N or File".
  31.    JHwindow         = 1               -- Zoomed window in messy mode looks tiled.
  32.    WANT_SEARCH_PATH = 1               -- I include this routine...
  33.    WANT_GET_ENV     = 1               -- ... and this one for EP command.
  34. compile if EVERSION >= 5 & EVERSION < 6
  35.    EXTRA_EX         = 1               -- Too much stuff to fit in one .EX file;
  36. compile endif                         -- compile *both* EPM and EXTRA.
  37.  
  38. /* Initializations... */
  39. my_messy = 1                          -- I prefer messy mode (can Drag & Size).
  40. my_default_search_options='C'         -- I prefer default to be ignore case.
  41.  
  42. compile if EVERSION >= '5.51'
  43. my_default_save_options='/S'          -- Strip trailing spaces when saving.
  44. compile endif
  45.  
  46. ;  Overrides for the standard colors:
  47. compile if defined(BLACK)  -- Only define if COLORS.E has been included; MYCNF
  48.                            -- may be included by many stand-alone .E files that
  49.                            -- need to set something the way that it's set when
  50.                            -- E.E is compiled, and they might not need to
  51.                            -- include COLORS.E.
  52. define
  53.    STATUSCOLOR              = Yellow + GreenB
  54.    FILENAMECOLOR            = Yellow + GreenB
  55.    COMMANDCOLOR             = Light_Cyan+MagentaB
  56.    BOXCOLOR                 = Light_Green
  57.    CURSORCOLOR              = Yellow + MagentaB + Blink
  58.    MARKCOLOR                = White + CyanB
  59.    MODIFIED_FILENAMECOLOR   = Red + GreenB
  60.  
  61.    HIGHLIGHT_COLOR          = Yellow + Magentab  -- hilight Located strings.
  62. compile endif
  63.