Message211641
| Author |
taleinat |
| Recipients |
Todd.Rovito, martin.panter, rhettinger, roger.serwy, taleinat, terry.reedy |
| Date |
2014年02月19日.18:47:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1392835622.25.0.208943682188.issue6143@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attaching a patch adding a ClearWindow extension for IDLE.
I took some ideas from Roger's version in IdleX, but I wrote this version from scratch and it is significantly different in many aspects.
This patch includes extensive tests with 98% coverage of ClearWindow.py.
This also includes a minor change to PyShell, adding a 'prompt' tag to every prompt in the shell's Text widget. This makes it straightforward for the ClearWindow extension to find the last prompt in the shell. |
|