SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Did you know? => Topic started by: Lisa on February 28, 2008, 02:44:44 pm

Title: Strip Trailing Spaces
Post by: Lisa 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).
Title: Re: Strip Trailing Spaces
Post by: chrisant 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).