http://bugs.python.org/review/24801/diff/15345/Lib/idlelib/EditorWindow.py File Lib/idlelib/EditorWindow.py (right): http://bugs.python.org/review/24801/diff/15345/Lib/idlelib/EditorWindow.py#newcode180 Lib/idlelib/EditorWindow.py:180: text.bind_class('Text', '<B2>', '') unbind_class()? And as long as these ...
If no other issues, I'll submit a new patch which will change these to
unbind_class(), and move them (for now) into PyShell right below where we start
Tk.
https://bugs.python.org/review/24801/diff/15345/Lib/idlelib/EditorWindow.py
File Lib/idlelib/EditorWindow.py (right):
https://bugs.python.org/review/24801/diff/15345/Lib/idlelib/EditorWindow.py#n...
Lib/idlelib/EditorWindow.py:180: text.bind_class('Text', '<B2>', '')
Yes, unbind_class would be better (I learn something new every day!)
And also yes, placing these in a central initialization routine would be better.
I put them here because I expect these kind of things to go into the new
uifactory initialization code (which hasn't been checked in yet).
On 2015/08/14 16:33:14, storchaka wrote:
> unbind_class()?
>
> And as long as these unbindings are global, may be move them to global IDLE
> initialization procedure?
Issue 24801: right-mouse click in IDLE on Mac doesn't work
Created 4 years, 4 months ago by markroseman
Modified 4 years, 4 months ago
Reviewers: storchaka_gmail.com
Base URL: None
Comments: 2