Message88539
I noticed that the feature to clear the shell window has been a
discussion topic in the IDLE-dev archives for a few years. Here's an
extension that can clear the contents of the shell window. It provides
"Clear Shell Window" under "Options" and a <Ctrl-L> key binding.
The source code provides two methods to do this. The
ModifiedUndoDelegator prevents changing the contents of the text widget
before "iomark". One solution is to disable the filter, make the
changes, then re-enable it. Another solution is move "iomark" to the
beginning of the document. Any thoughts? |
|
Date |
User |
Action |
Args |
2009-05-29 21:09:51 | roger.serwy | set | recipients:
+ roger.serwy |
2009-05-29 21:09:51 | roger.serwy | set | messageid: <1243631391.82.0.146122427664.issue6143@psf.upfronthosting.co.za> |
2009-05-29 21:09:50 | roger.serwy | link | issue6143 messages |
2009-05-29 21:09:49 | roger.serwy | create | |
|