undo trailing whitespace added by editor