home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Editor / DVD!FX17.LHA / FrexxEd / fpl / TabConvert.FPL.README < prev    next >
Encoding:
Text File  |  1995-01-20  |  974 b   |  33 lines

  1. ############################################
  2. File:        TabConvert.FPL
  3. Author:        Kjell Ericson
  4. Email:        FidoNet 2:201/328
  5. Short:        Convert tabs to spaces and vice versa
  6. Version:    1.1
  7. Date:        20.1.95
  8. Local settings:
  9. Global settings:
  10. Keysequence:    'Amiga tab' and 'Amiga Shift tab'
  11. Type:        key
  12. Prereq:
  13. ############################################
  14.  
  15. FUNCTION
  16.   The TabToSpace() function (Amiga 'tab') converts all existing tabs in a buffer to
  17. spaces.
  18.   The SpaceToTab() function (Amiga Shift 'tab') converts all space, that can be
  19. excanged, to tabs.  It will ignore the convertion if it can't replace at least
  20. two spaces.
  21.  
  22.  
  23. NOTE
  24.   The SpaceToTab() function is far slower than TabToSpace().  It will have to try
  25. on every double space it founds, while TabToSpace() will make a match on every
  26. tab character.
  27.   The functions pay no attention to the FACT, it will go hard on the tab and
  28. space characters.
  29.  
  30. HISTORY
  31.   1.1 - Daniel Stenberg. Replaced the Sprintf()-call with a call to sprintf()!
  32.  
  33.