]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 29 May 2020 23:13:00 +0000 (16:13 -0700)
committerGitHub <noreply@github.com>
Fri, 29 May 2020 23:13:00 +0000 (16:13 -0700)
commit3dcccd1186febe0bca5936aed750d55c68b78bcd
treeb1554b722f98b96b880043edcac0c8961b23425e
parent00a240bf7f95bbd220f1cfbf9eb58484a5f9681a
bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)

Leave selection when right click within.  This exception to clearing selections when right-clicking was omitted from the previous commit, 4ca060d.  I did not realize that this completely disabled the context menu entries, and  I should have merged a minimal fix immediately.  An automated test should follow.
(cherry picked from commit 97e4e0f53d6690db6b942678489716a30925b8af)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/NEWS.txt
Lib/idlelib/editor.py
Lib/idlelib/idle_test/test_editor.py
Misc/NEWS.d/next/IDLE/2020-05-29-18-21-58.bpo-39885.zB_-bN.rst [new file with mode: 0644]