[issue33046] IDLE option to strip trailing whitespace automatically on save

2019-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want to add EOF newline stripping before making this automatic. Otherwise, the new feature will give people a false sense that it is all taken care of. I opened #38862 and hope to do it tomorrow. I may then merge Zackary's PR with any still edits of

[issue33046] IDLE option to strip trailing whitespace automatically on save

2019-11-16 Thread Zackery Spytz
Zackery Spytz added the comment: I have created a pull request to implement this feature. There was also some relevant discussion in bpo-23667. -- nosy: +ZackerySpytz ___ Python tracker

[issue33046] IDLE option to strip trailing whitespace automatically on save

2019-11-16 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +16705 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17201 ___ Python tracker ___

[issue33046] IDLE option to strip trailing whitespace automatically on save

2018-03-10 Thread Raymond Hettinger
New submission from Raymond Hettinger : Add option to IDLE preferences in the general section to automatically run Strip Trailing Whitespace before saving. People who use Strip Trailing Whitespace generally do so just before saving and they do it over and over