Text Tool plugin 1.4 has a action that eats all whitespace in the selection
or on either side of the cursor if nothing is selected. Not sure how to
leave the document with regard to cursor position, selection, etc.
Deep Magic Software and Consulting