Author roger.serwy
Recipients roger.serwy
Date 2009-05-29.21:09:48
SpamBayes Score 2.14459e-07
Marked as misclassified No
Message-id <1243631391.82.0.146122427664.issue6143@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2009-05-29 21:09:51roger.serwysetrecipients: + roger.serwy
2009-05-29 21:09:51roger.serwysetmessageid: <1243631391.82.0.146122427664.issue6143@psf.upfronthosting.co.za>
2009-05-29 21:09:50roger.serwylinkissue6143 messages
2009-05-29 21:09:49roger.serwycreate