]> 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:11:28 +0000 (16:11 -0700)
committerGitHub <noreply@github.com>
Fri, 29 May 2020 23:11:28 +0000 (16:11 -0700)
commit80b6a05d38ce34ef543a2376b8132eef4ada67ce
treedc586979232d58f3a703f4b95072b08172265d37
parent5aa40e587e63bcad22c7e196fc3559e2b5e0792b
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]