-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
When we have ignoreCase="yes" (default) and mixed words in xml file then the popup does not work properly.
Str:
- Open Notepad++ and select
ActionScriptlanguage. - Press
a. We will get:

This is correct. We get a list of words starting withaandA(because we ignore case), andais selected because it fits better in the text. - Press
b. Popup will be closed. It's wrong because the wordabsexist on list.
Same happend when in step 3. we press c or d. The interesting thing is that there is no problem with e.g. l, n, p, s.
Another casae:
- Open Notepad++ and select
ActionScriptlanguage. - Press
a. We will get:

This is correct. We get a list of words starting withaandA(because we ignore case), andais selected because it fits better in the text. - Press
r. We will get:

Still acceptable because it fits better thanArray. - Press
r. Popup will be closed. It's wrong because the wordArrayexist on the list.
This works fine when we have only one variant of name value in .xml (only upper or only lower) or when we set ignoreCase="no".
But still I want to be able to put on the list mixed case even when language is case insensitive (names are more readable and often appear in this form in the specification).
Another question: would not be better if pressing next case will refresh popup list to show only the matching items? Now when we press one char like a we get list of all words started with a, now when press b this list is the same (still show all words started with a) but select ab word.
The problem is when we have AZ1, AZ2, AZ3... and az word and there are a lot of other words started wit a or A between them. Now when on the list az word was selected we don't see (don't know) that words like AZ1, AZ2, AZ3.... exist (we don't see it). If pressing next case will refresh popup list to show only the matching items then this problem would be reduced (even if a scroll appears, it won't be so long).
Notepad++ v8.4.6 (32-bit)
Build time : Nov 7 2022 - 21:47:42
Path : D:\_test\NPPClean\notepad++.exe
Command Line : -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 11 (64-bit)
OS Version : 21H2
OS Build : 22000.1219
Current ANSI codepage : 1250
Plugins :
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)