editor: make trim trailing lines greedy for spaces.