-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-95511: IDLE - fix Shell context menu copy-with-prompts bug #95512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.)
I made extensive manual tests before making the PR, and it is those, along with logic, that convince me that the patch is correct. The existing test_copy_with_prompts required the buggy behavior until I fixed it. |
Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
GH-95519 is a backport of this pull request to the 3.11 branch. |
…ythonGH-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 fc31a13) Co-authored-by: Terry Jan Reedy <[email protected]>
…ythonGH-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 fc31a13) Co-authored-by: Terry Jan Reedy <[email protected]>
GH-95520 is a backport of this pull request to the 3.10 branch. |
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 fc31a13) Co-authored-by: Terry Jan Reedy <[email protected]>
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 fc31a13) Co-authored-by: Terry Jan Reedy <[email protected]>
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.)