When saving a file, trim any empty space at the end up to the closest horizontal bar. This should be the default behavior, but should be configurable by the user.