commit | 4eab100e0dc764a5b85557aa30265066d1fde72e | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Sun Jul 31 22:25:56 2022 -0700 |
committer | GitHub <noreply@github.com> | Sun Jul 31 22:25:56 2022 -0700 |
tree | f209f2d75dbe9aa86cea60e4c5e4b3b4f65ee51c | |
parent | 03fed0ade40af6877ed0d8289c05c46e985b66ec [diff] |
gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (GH-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.) (cherry picked from commit fc31a13dc1799b8d972c1f4ea49f27090aed7f48) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>