[RFC Riki!] Re: Highlighted math in dark mode is hard to see

Jürgen Spitzmüller jspitzm at gmail.com
Sat Sep 30 13:23:06 UTC 2023


Am Freitag, dem 29.09.2023 um 15:53 +0200 schrieb Jürgen Spitzmüller:
> And it only works for fully selected math insets, not for parts of
> it. Don't know where to set the latter.

The issue here is, probably, that Math is missing something like
RowPainter::paintStringAndSel() which accounts for, and colors, partial
selections of text. Probably a bit more work to implement this, but it
would also be needed to draw change tracking marks in math.

I still think the patch should go in, as it cures at least one half of
the problem. 

Note that currently, with "use system colors", we have the same half-
solution only (and a similar contrast problem even in light mode, as
the attached screenshot from stable demonstrates).

-- 
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2023-09-30 15-21-28.png
Type: image/png
Size: 1596 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230930/b8b8eef2/attachment.png>


More information about the lyx-devel mailing list