]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-71956: Fix IDLE Replace All searching up without wrap around (#152737)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 1 Jul 2026 15:55:43 +0000 (18:55 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 15:55:43 +0000 (11:55 -0400)
commitef27e5b310feebb6068f9e798eee7069e1966fc9
tree67370a7f4efc29d173d72cec359d99d3ba489c5b
parent4e16b8d4eef162082c3d409f171802ceccb36521
gh-71956: Fix IDLE Replace All searching up without wrap around (#152737)

When the search direction is "Up" and "Wrap around" is off, Replace All
replaced only the first match above the current position (and all matches
below it).  It now replaces all matches from the start of the text down to
the current position, consistently with the "Up" direction.
Lib/idlelib/idle_test/test_replace.py
Lib/idlelib/replace.py
Misc/NEWS.d/next/IDLE/2026-07-01-12-00-00.gh-issue-71956.rPlAlL.rst [new file with mode: 0644]