Non ASCII letters rendered differently

Solved bugs are moved into this topic...
Locked
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Non ASCII letters rendered differently

Post 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!
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

how differently, some screenshots?
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Post 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
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Now I see, they are parsed as different symbols, not like ascii. I will fix these lexers.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post 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
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Post by ANewUser »

Thanks! Sorry if I had been ambiguous.
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Post by ANewUser »

Something bad has happened to the Autohotkey lexer! {...} code blocks, strings in "...", "; comment line", ...
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

what do you mean, some screenshot pls.
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Post 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
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Thanks, it's valid report, comment was not hilited. fixed Autohotkey lexer, updated again, pls test.
Locked