Community
    • Login

    feature request: search with "accent match" (without Regular expression)

    Scheduled Pinned Locked Moved General Discussion
    8 Posts 2 Posters 562 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • conky77C
      conky77
      last edited by

      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.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @conky77
        last edited by

        @conky77

        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.

        conky77C 1 Reply Last reply Reply Quote 0
        • conky77C
          conky77 @Alan Kilborn
          last edited by

          @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

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @conky77
            last edited by

            @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 uses e in a search; before the search is conducted that e is replaced with [eèéëê].
            Is the list of possible accented characters easy to create, for all?

            conky77C 1 Reply Last reply Reply Quote 0
            • conky77C
              conky77 @Alan Kilborn
              last edited by

              @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”.

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @conky77
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • Alan KilbornA
                  Alan Kilborn
                  last edited by

                  @conky77

                  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.

                  conky77C 1 Reply Last reply Reply Quote 1
                  • conky77C
                    conky77 @Alan Kilborn
                    last edited by

                    @alan-kilborn
                    I inserted the Issue #11028

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors