home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / epmsmp.zip / AUTOSPEL.E < prev    next >
Text File  |  1995-10-18  |  550b  |  14 lines

  1. ; The following will automatically turn on dynamic spell-checking for
  2. ; all newly-loaded files of the specified types.  In order to use it,
  3. ; include it in your MYSTUFF.E and recompile the macros (ETPM EPM).
  4. ; If you want it enabled for all files, remove the first IF statement
  5. ; and its corresponding ENDIF.
  6.  
  7. defload
  8.    universal load_ext
  9.    if wordpos(load_ext, 'SCRIPT SCR IPF TXT TEXT') then
  10.       if .keyset <> 'SPELL_KEYS' then  -- Make sure not already on!
  11.          'dynaspell'  -- This toggles it on or off.
  12.       endif
  13.    endif
  14.