]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-71956: Fix IDLE Replace All searching up without wrap around (GH-152737...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 16:20:11 +0000 (18:20 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 16:20:11 +0000 (16:20 +0000)
commitf37774d080c73527a6189c2c8e37e3a44d0b65e1
treea3093500f252c7016faca314e91f0ac9f1b1204b
parent665c36b993696c6a1c13b86674accee1a1407ffa
[3.13] gh-71956: Fix IDLE Replace All searching up without wrap around (GH-152737) (#152801)

gh-71956: Fix IDLE Replace All searching up without wrap around (GH-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.
(cherry picked from commit ef27e5b310feebb6068f9e798eee7069e1966fc9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]