Page 1 of 1

[15.80b2] Ligatures are broken

Posted: 06 Feb 2023 22:32
by pjj
In the newest beta programming ligatures are broken in the code, though retained inside comments.

Multi-color brackets seems to be very good! (Are the underlines for currently highlighted ones optional?)

Re: [15.80b2] Ligatures are broken

Posted: 06 Feb 2023 23:14
by Rickard Johansson
(Are the underlines for currently highlighted ones optional?)
Yes! You'll find several options in the customize themes dialog for highlighted braces.
In the newest beta programming ligatures are broken in the code
Brackets needs to be drawn individually for multi-color brackets to work. All other ligatures should work though. I'll fix it.

Re: [15.80b2] Ligatures are broken

Posted: 07 Feb 2023 08:12
by pjj
Rickard Johansson wrote: 06 Feb 2023 23:14 Yes! You'll find several options in the customize themes dialog for highlighted braces.
Wow, this seems to be very useful! :-D

However, small nitpick (please disregard it if you want) -- the top and bottom parts of the highlighting block are a tad thinner then the center:
brace-bold.png
brace-bold.png (2.4 KiB) Viewed 1698 times
My real question is about option "none", with braces not visible at all:
braces-none.png
braces-none.png (2.11 KiB) Viewed 1698 times
Is this effect intended, or is it a bug? :?

Re: [15.80b2] Ligatures are broken

Posted: 07 Feb 2023 14:39
by Rickard Johansson
My real question is about option "none", with braces not visible at all:
Is this effect intended, or is it a bug? :?
The first color is used as the font color with the option "None". It should probably be used with bold as well, if a background color is used. Otherwise, they may become invisible :?

Re: [15.80b2] Ligatures are broken

Posted: 07 Feb 2023 15:22
by pjj
Of course! I saw these two colors were the same yet somehow I disregarded this information... and then my brackets became invisible :roll: So, with two distinct colors option "None" is simply the old one. Cool!