More control over drawing of backgrounds from GtkTextTag in GskPangoRenderer
One of the things we still result to deep hacks in Text Editor and Builder is to draw the backgrounds for search tags so that we can get:
- Rounded corners
- Border outlines
- Box shadows
It would be really nice if there was a way we can have more control over how these are drawn when processing the PangoLayout
.
There are a few ways we might be able to approach this:
- Allow specifying a custom
PangoRenderer
for theGtkTextView
which could pass-through to theGskPangoRenderer
. - Allow more properties for
GtkTextTag
s to provide more styling - Probably more?