Selection with active line styling

Looks like there’s some styling issues when selecting multiple lines and having the background set on an active line. This is also present in the example in the docs

If you look closely, the area of the active line and the area of the selection don’t quite match up. This is even more evident when having different font sizes and different colors of the selection and active line

Would it be possible to align this properly?

The selection uses text (inline) client rectangles, which indeed may differ from the block rectangles. But that is intentional (if the line has vertical padding, for example, I don’t want to include that in the selection height) and I don’t think it is much of a problem.

1 Like