notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

Feature request: search form, new checkbox "Accent/Diacritic Match"

Open
#11,028 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Description of the Issue

I propose a new feature (see also this conversation ):
On the search form (for all tab sheets), create a new checkbox
"Accent/Diacritic Match" (see images below
The new flag should work in combination with:

  • match case (the current behaviour with Regular Expression ( pattern "[[=e=]]" doesn't Match case )
  • Match whole word only
  • Backward Direction
  • Search mode: Normal and extended
    The new feature should work with all variants of vowels and consonant:s, i.e.:
    e: e è é ë ê
    n: n Ñ
    c: Ç
    L: Ł ƚ
Actual Behavior

The only way to search with accent insensitive is actually to enable "regular expression and substitute every letter with the pattern "[[=e=]]" (i.e. for letter "e")

Debug Information

Notepad++ v8.2 (64-bit)
Build time : Dec 30 2021 - 03:40:42
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : -multiInst
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 2009
OS Build : 22000.376
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll NppXmlTreeviewPlugin.dll

feature request: form with new flag
image

current form:

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the search form and the linked community discussion to understand the proposed Accent/Diacritic Match behavior. Verify how the existing Normal, extended, and regular-expression modes handle case, whole-word, and backward searches. Done means the new checkbox supports the listed combinations and accent variants, including e/è/é/ë/ê, n/Ñ, c/Ç, and L/Ł/ƚ.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.