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
When I use find and replace, as one string is replaced, the next occurrence is highlighted.
However, if I press replace again, the previous occurrence is replaced, not the one highlighted.
I've confirmed this issue with a clean install and in incognito mode on chrome.
Reproduce
Open "Find and replace".
Type the string to be found.
Type the replacement string.
Use the up and down buttons to select the first occurrence you want to replace.
Press replace. The string is replaced as expected and the highlight moves to the next occurence.
Press replace again. The highlight moves again, but the replaced occurrence is the one before the first replacement.
This will happen every time I press replace.
Expected behavior
The highlighted string is replaced.
Context
Operating System and version: Linux Ubuntu 20.04
Browser and version: Chrome 120
JupyterLab version: 4.0.7
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
#15572 concerns a similar issue when the 'find' string is a substring of the 'replace' string, but this is a different issue. @speleos thanks for opening this!
Description
When I use find and replace, as one string is replaced, the next occurrence is highlighted.
However, if I press replace again, the previous occurrence is replaced, not the one highlighted.
I've confirmed this issue with a clean install and in incognito mode on chrome.
Reproduce
Open "Find and replace".
Type the string to be found.
Type the replacement string.
Use the up and down buttons to select the first occurrence you want to replace.
Press replace. The string is replaced as expected and the highlight moves to the next occurence.
Press replace again. The highlight moves again, but the replaced occurrence is the one before the first replacement.
This will happen every time I press replace.
Expected behavior
The highlighted string is replaced.
Context
The text was updated successfully, but these errors were encountered: