Terry J. Reedy added the comment: Edited title to fit in the box. Minimal reproducer, which can become a test. File as follows, where '|' represent the cursor, not the character.
a a| a Cntl-H, enter search for 'a', replace with 'b', check 'up', uncheck 'wrap', click Replace All. Result matches what you said. a b b Thanks for the report. This is definitely a bug. In the future, try to post a minimal example, such as the above, as well as a description. Whether I backport a fix depends on how easy it would be. ---------- stage: -> needs patch title: IDLE's "Replace All" with up direction and no wrapping replaces one upward and all downward entries instead of replacing all upward entries. -> IDLE: Replace All up, no wrap replaces one up, all down versions: +Python 3.6 -Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com