[issue6143] IDLE - an extension to clear the shell window

Roger Serwy report at bugs.python.org
Mon Jun 15 07:13:30 CEST 2009


Roger Serwy <roger.serwy at gmail.com> added the comment:

I just tried Squeezer. It's pretty neat and it solves a different
problem. Clearing the contents of the shell window should be a simple
operation.

The undo operation doesn't restore iomark properly, nor does it restore
tags. I've uploaded a newer version of the extension to handle undo.

Binding to the "<<undo>>" virtual event with add="+" didn't work as
expected, so the new undo event handler explicitly calls the older one.
I admit that this code is not ideal.

Should I move this extension to the Cheese Shop and close out this issue?

----------
Added file: http://bugs.python.org/file14303/ClearWindow.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6143>
_______________________________________


More information about the Python-bugs-list mailing list