[New-bugs-announce] [issue6143] IDLE - an extension to clear the shell window
Roger Serwy
report at bugs.python.org
Fri May 29 23:09:51 CEST 2009
New submission from Roger Serwy <roger.serwy at gmail.com>:
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?
----------
components: IDLE
files: ClearWindow.py
messages: 88539
nosy: serwy
severity: normal
status: open
title: IDLE - an extension to clear the shell window
type: behavior
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14116/ClearWindow.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6143>
_______________________________________
More information about the New-bugs-announce
mailing list