Open GoogleCodeExporter opened 9 years ago
Thanks for spotting this inconvenience and sorry for responsing that late.
You're right, the highlighted text is very hard to read ;)
Please look for line "if Inverted then" in method TSection.Draw1() in unit
HtmlSubs.pas. That block sets fore- and background colors of
highlighted/inverted text.
A fixed color pair might not be the best solution as it could be the same as
for the unhighlighted text. I'd prefer to exchange fore- and background colors.
But what, if section background is transparent. Can we calculate the effective
background color? What, if the background is an image?
Nevertheless a fixed color pair should be clHighlight for the background and
clHighligtText for the text.
You might want to fork https://github.com/BerndGabriel/HtmlViewer and modify
branch HtmlViewer11.
Thanks for your support.
Original comment by OrphanCat
on 23 Jul 2013 at 9:02
Original issue reported on code.google.com by
DarkCode...@gmail.com
on 15 Jul 2013 at 9:57Attachments: