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

Find/Replace Overlay: Support special common escape characters #2687

Open
laeubi opened this issue Jan 11, 2025 · 1 comment
Open

Find/Replace Overlay: Support special common escape characters #2687

laeubi opened this issue Jan 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@laeubi
Copy link
Contributor

laeubi commented Jan 11, 2025

Sometimes one likes to "fixup" things, e.g. replace <tab> by <space> and under Linux GEdit it has support for \n and \t to be treated as a literal tab or newline.

In general this works with find replace, but one has to copy such character from somewhere as one can't type it into the box itself as the keybindings itself are already used (e.g. enter -> search, and tab -> switch to next input field).

@laeubi laeubi added the enhancement New feature or request label Jan 11, 2025
@merks
Copy link
Contributor

merks commented Jan 11, 2025

Regex mode supports that already. Isn't that sufficient?

Given regular mode treats all characters as literal, supporting \ as an escape would require another mode, or at least another mode for the replacement field...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants