hi,

we are using qsyntaxhighlighter to highlight text (set a different background color), based on regular expressions.
This works just fine, but when we use the highlighter to draw highlighted text to the screen, the "highest" pixel of the font is in the same pixel-row as the first pixel of the background highlighting.
Below the font, there is a row of "untouched" background pixels.

See the attached picture.


The problem is, that when we have multiple lines of text on top of each other, it looks really bad to have a single row of pixels that are not highlighted.
is there anything i can do about that?

highlight.jpg