Author Topic: Strip Trailing Spaces  (Read 13417 times)

Lisa

  • Senior Community Member
  • Posts: 238
  • Hero Points: 24
  • User-friendly geek-speak translator extraordinaire
Strip Trailing Spaces
« on: February 28, 2008, 02:44:44 PM »
A quick way to manually strip trailing whitespace from the ends of lines is to use the remove_trailing_spaces command (Edit > Other > Remove Trailing Whitespace). Otherwise, SlickEdit can do this for you automatically on Save, if you enable the Strip trailing spaces option on the Save tab of the File Options dialog (Tools > Options > File Options).

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: Strip Trailing Spaces
« Reply #1 on: March 13, 2008, 09:44:16 PM »
Cool, and it restricts itself to the current selection if one exists.  That is a handy function for me to call from a macro I'm working on (my third macro so far).