Tal Einat <talei...@gmail.com> added the comment:

I agree with Guilherme: shortcuts don't need to appear in the context menu.

Guilherme's patch looks pretty good overall, but I have a few remarks:

1) Pasting should be disabled in the Shell window when the cursor is before the 
I/O mark. (the behavior for cutting is correct)

2) Code relevant to the Shell window should be in PyShell, not in EditorWindow 
with a getattr(self, 'interp', None) check.

3) Tk.Text.compare can receive names of tags to compare (don't have to do 
Tk.Text.index('<tag name>'))

So I made these changes. Attached are patches against current trunk (2.x) and 
py3k branch.

My testing on Windows7 with both 2.7 and 3.1.2 showed this change works well. 
This should be tested on OSX and Linux since it interacts with the clipboard, 
which works differently on these platforms.

----------
nosy: +taleinat
Added file: http://bugs.python.org/file18089/IDLE_rmenu_trunk.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1207589>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to