]> 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:21 +0000 (16:13 -0700)
committerGitHub <noreply@github.com>
Fri, 29 May 2020 23:13:21 +0000 (16:13 -0700)
commit9f3f70fd0b6922840b3ef8018c446a6c8ac74ece
treea0756393592bf05582adbc002f42ead9b6d8c6f5
parent805fa546765ef3d802723ca4c1f29b147b7ff0f4
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]