I found the error. The bug is in PSPad's autocomplete.

If I write a code word that doesn't exist in the Au3 script yet, the whole word
will be inserted in capital letters.

Steps to reproduce:

- Use the _current[color=#FF0000]*[/color]_ AutoIt3.ini as a highlighter
- Open an _empty_ Au3 file
- write "Str" 
- press Ctrl+J (autocomplete) 

Result: ==> A small window appears and all words in it are in capital letters.
If you use autocomplete, the whole word will be inserted in uppercase.

[URL=https://www.directupload.net/file/d/5648/9ce4kp72_png.htm][IMG]https://s19.
directupload.net/images/191125/temp/9ce4kp72.png[/IMG][/URL]

Can you please change this so that autocomplete inserts the code words as they
appear in the _current[color=#FF0000]*[/color]_ highlighter? :)

Current result: [color=#FF0000]STRINGINSTR[/color]
Desired result: [color=#0000FF]StringInStr[/color]

_[color=#FF0000]*[/color]_[i]PSPad comes with an _old_ AutoIt3.ini,
all code words are lower case. In the _current_ AutoIt3.ini the code words
are in uppercase and lowercase. Example "StringInStr". The current AutoIt3.ini I
sent you with the test files in my last email.[/i]

-- 
<https://forum.pspad.com/read.php?2,72063,72071>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem