Author Topic: Strip Trailing Spaces  (Read 7892 times)

Lisa

  • Senior Community Member
  • Posts: 238
  • Hero Points: 23
  • 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: 1413
  • 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).