Feature request: Option for delete trailing spaces and add newline at end.
I suggest an option (maybe via plugin), which, when checked, would delete all trailing spaces upon saving a document, and automatically add a newline at the last line, if it is lacking one.
Many text editors offer this handy feature, and it is a pity that gedit does not have it.