]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (#95512)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 1 Aug 2022 05:06:13 +0000 (01:06 -0400)
committerGitHub <noreply@github.com>
Mon, 1 Aug 2022 05:06:13 +0000 (01:06 -0400)
commitfc31a13dc1799b8d972c1f4ea49f27090aed7f48
tree9f4da85d232bb553c7c4d7adb8d6f5471ddab90c
parentd29e279de38e7bc3b7deda573ba23d65831d9351
gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (#95512)

If one selects whole lines, as the sidebar makes easy, do not
add an extra line.  Only move the end of a selection to the
beginning of the next line when not already at the beginning
of a line.  (Also improve the surrounding code.)
Lib/idlelib/NEWS.txt
Lib/idlelib/idle_test/test_sidebar.py
Lib/idlelib/pyshell.py
Misc/NEWS.d/next/IDLE/2022-07-31-22-15-14.gh-issue-95511.WX6PmB.rst [new file with mode: 0644]