title: How to auto-remove trailing whitespace in Eclipse?
body: <p>The question has two parts, one of which I already have the answer for.</p>
  
  <ol>
  <li>How to auto-remove trailing whitespace <strong>from the entire file being edited</strong>? -> Answer: use the <a href="http://andrei.gmxhome.de/anyedit/" rel="noreferrer">AnyEdit plugin</a>, which can be set to do that on any save to the file.</li>
  <li>How to auto-remove trailing whitespace <strong>only from the lines I changed</strong>? -> This I don't know and would appreciate any help.</li>
  </ol>