feature request: search with "accent match" (without Regular expression)
-
I would like to propose a feature. Before creating an issue, I write here.
As there is the search option “Match case” (case sensitive), I propose to implement the search option “accent sensitive” or “accent match” (maybe the correct term is diacritic)
It is the default search of the browser.In Crome or Edge, if you search in the page (CTRL+f) for “e”, the program also finds “é” or “è”.
e: e è é ë ê
n: n Ñ
c: Ç
L: Ł ƚ
This option should also work in combination with option “match case”.I know that it is possible with regular expression with the syntax [[=char=]], but you have to see the syntax.
This option could be useful also with the sorting commands. -
Normal mode search works totally via Scintilla; do you know if Scintilla supports the type of search you are describing? If it doesn’t, then Notepad++ can’t do it. Or at least not without the developers doing more work than they’d probably be inclined to do to support it.
-
@alan-kilborn
I checked, and I didn’t find this flag for “normal search”. Notepad++ should do a “regular expression” research, making it transparent to the user -
@conky77 said in feature request: search with "accent match" (without Regular expression):
Notepad++ should do a “regular expression”
It could be done, I suppose.
User usese
in a search; before the search is conducted thate
is replaced with[eèéëê]
.
Is the list of possible accented characters easy to create, for all? -
@alan-kilborn It isn’t so easy to create a list (long list), but if you write the regular expression “[=e=]”, N++ already extract all variants of “e”.
-
@conky77 said in feature request: search with "accent match" (without Regular expression):
but if you write the regular expression “[=e=]”, N++ already extract all variants of “e”.
Oh. Well, I would say that suffices then.
-
So I’ve reread your earlier postings with more care.
(Reading on a phone–wow–you can really miss stuff–maybe I don’t do that any more).OK, now I understand fully what you mean.
To me it is an acceptable feature request to have an additional checkbox for it.This option could be useful also with the sorting commands.
This is a bit of a different thing, as the sorting routines look at data differently than the regular expression code.
-
@alan-kilborn
I inserted the Issue #11028