Underline is not always work as in configure

Post Reply
williamy
Posts: 6
Joined: 23.11.2020 15:20

Underline is not always work as in configure

Post by williamy »

Hi
I noticed after configure the StyleFormat with "Underline" checked, sometimes the text in the editor is still not underlined.

Actually, for most of time, it is not underlined (under when the word is in URL format)

I tried to check into the detail, and noticed in below source code, the underline is not handled there,( but if I add "C.Font.Underline := true", it will work.)
that means the underline switch in the config file is not handled here.

https://github.com/Alexey-T/ATSynEdit/b ... c.pas#L726
williamy
Posts: 6
Joined: 23.11.2020 15:20

Post by williamy »

to be more precise, i noticed the underline is not handled as bold and itallic in all the places,
so, i assume that is it design to work in this way.
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

yes seems that attrib is missed to set. but users don't need that attrib. users need bold, italic, bold+italic, crossed, but they dont need underline. its useless for usual syntax files.
Post Reply