Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't replace all occurences of empty string #7791

Merged
merged 1 commit into from Jul 12, 2023
Merged

Conversation

vlaaad
Copy link
Contributor

@vlaaad vlaaad commented Jul 12, 2023

The problem: when running replace-all with an empty string find term, the editor got stuck in an infinite loop finding the next occurrences.

User-facing changes: the editor no longer locks up executing the "Replace All" command in the code editor view when the search term is empty

Fixes #7790

The problem: when running `replace-all` with an empty string find term, the editor got stuck in an infinite loop finding next occurences.

User-facing changes: the editor no longer locks up executing "Replace All" command in the code editor view when the search term is empty

Fixes #7790
Copy link
Contributor

@matgis matgis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vlaaad vlaaad merged commit f811ec5 into editor-dev Jul 12, 2023
5 checks passed
@vlaaad vlaaad deleted the DEFEDIT-7790 branch July 12, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants