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

Improve Find/Replace dialog errors #3841

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

ntrel
Copy link
Member

@ntrel ntrel commented Apr 15, 2024

Depends on #3828, please merge that first.

Show status message when there's no search text - like Find in Files does.
Don't error when find & replace text are the same and regex is enabled. E.g. when using \1 in replace text, the result is not the same.
Also set replace background when find & replace text are the same.

Move fail branch to first use.
Focus replace entry if escaping failed.
The background can be set again if necessary.
Show status message when there's no search text.
Don't error when find & replace text are the same and regex is enabled.
Also set replace background when find & replace text are the same.
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

1 participant