Michael Heath
Michael Heath
> It's a bit weird that `Word completion` and `Function and Word completion` works differently for `ignoreCase="yes"`. Well, but if the `Word completion` option have to be always case-sensitive, then...
@ArkadiuszMichalski I committed your suggestion of sort, `SCI_AUTOCSETIGNORECASE` and `SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR` based on `_ignoreCase`. My idea of just one way for all, I consider as overthinking the problem. Testing seems good...
The case insensitive sort algorithm needs to be compatible with Scintilla`s internal algorithm to make the autocomplete selection work properly. Many of the functions like `generic_stricmp` do a lowercase compare....
Based on actionscript.xml which should be case insensitive by uppercase comparison so the keywords with leading underscores should be below `A-Z` though above `a-z` if following a ASCII table. Scintilla...
This PR is about fixing the case insensitive autocomplete. It might be beneficial to do what is needed now rather than creating another Issue and PR to resolve this entire...
@donho I created an AutoIt3 script which reads actionscript.xml for the keywords, runs Notepad++ and types the keywords. If the autocomplete windows closes early then it is logged to file....
@donho The AutoIt script was made to do a **before** and **after** test of the autocomplete with keywords from actionscript.xml. At about 161 in 627 keywords is about 1 in...
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/5719558588c5d6467c76b2b6778538fceb4c29eb/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp#L379 does a case sensitive sort of items every time. A case insensitive list will operate better with a case insensitive sort of items. So, could be replaced with ```cpp...
@ArkadiuszMichalski If you get to test, try `acc` in `ActionScript`. 1. Type `a` and it selects `a` at the top. 2. Type `c` and it selects `acos`. This is like...
@ArkadiuszMichalski Added commit to the 4 autocomplete functions with the behaviour change. I lost some time with the [path autocomplete](https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11147#issuecomment-1365724574) crashing on me while testing as I need to ensure...