Eclipse plugin which trims whitespaces at the end of lines. It works for any type of document.