Page 1 of 1

Non ASCII letters rendered differently

Posted: 31.01.2020 10:20
by ANewUser
Hello!

Non ASCII/accented letters rendered differently (not in every theme).

Some examples:
Autohotkey (.ahk): "MsgBox áéí abc"
Batch files (.bat): "echo áéí abc"
Inno Setup script (in [CustomMessages] section, but any other section will do it) (.iss): "MessageIdentifier=áéí abc"

Probably there are more languages too.
Is there any setting for this?
Thanks!

Posted: 31.01.2020 19:20
by Alexey
how differently, some screenshots?

Posted: 01.02.2020 13:35
by ANewUser
It seems the non ASCII letters are treated like symbols ...

for Autohotkey: https://i.imgur.com/XXuhfDk.png
for batch files: https://i.imgur.com/oDbP7t3.png
for Inno Setup: https://i.imgur.com/nofvlKh.png

Posted: 01.02.2020 13:59
by Alexey
Now I see, they are parsed as different symbols, not like ascii. I will fix these lexers.

Posted: 01.02.2020 14:28
by Alexey
Lexers Autohotkey, Inno Setup are updated in addons now; lexer Batch is updated in Github
https://github.com/Alexey-T/CudaText/bl ... 0files.lcf

Posted: 01.02.2020 15:16
by ANewUser
Thanks! Sorry if I had been ambiguous.

Posted: 01.02.2020 16:18
by ANewUser
Something bad has happened to the Autohotkey lexer! {...} code blocks, strings in "...", "; comment line", ...

Posted: 01.02.2020 20:43
by Alexey
what do you mean, some screenshot pls.

Posted: 02.02.2020 11:36
by ANewUser
It seems everything is ok, I had to use view/lexers/... in the case of Autohotkey (despite I already selected for the source file).

But the multi line comment (/* ... */) does not be recognized in a function.
https://i.imgur.com/UM6LVZA.png

Posted: 02.02.2020 11:52
by Alexey
Thanks, it's valid report, comment was not hilited. fixed Autohotkey lexer, updated again, pls test.