[issue1207589] Right Click Context Menu
Tal Einat
report at bugs.python.org
Tue Jul 20 16:12:47 CEST 2010
Tal Einat <taleinat at 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 <report at bugs.python.org>
<http://bugs.python.org/issue1207589>
_______________________________________
More information about the Python-bugs-list
mailing list