You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/terryjreedy'closed_at=Nonecreated_at=<Date2016-08-15.15:13:41.778>labels= ['expert-IDLE', 'type-bug', '3.10']
title='IDLE: Replace All up, no wrap replaces one up, all down'updated_at=<Date2020-06-06.19:35:26.959>user='https://bugs.python.org/Qwert225'
IDLE's "Replace All" option with up direction and disabled "Wrap around" replaces only the bottommost of all matching upward entries instead of replacing all matching upward entries.
EDIT: IDLE's "Replace All" with up direction and no wrapping replaces one upward matching entry and all downward matching entries even though it is set to replace all upward entries.
Qwert225mannequin
changed the title
"Replace All" with up direction and no wrapping replaces only the bottommost of all matching upward entries
IDLE's "Replace All" with up direction and no wrapping replaces one upward and all downward entries instead of replacing all upward entries.
Aug 15, 2016
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.
terryjreedy
changed the 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
Aug 15, 2016
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: