Let GtkTextTag grow with insertion

Hi, currently i try to let a GtkTextTag grow at the end of the already applied range but surprisingly it does not grow at all. If i insert text inbetween it grows correctly without further ado. But at the beginning and at the end it isn’t applied anymore. Any idea how to do that correctly?

I know from a technically point of view it is not easy to do because when does it stop when i as user don’t want to apply the tag anymore. I just need an idea how to do this practically without maintaining several GtkMark all over the place and applying the tags after every insertion because this sounds like a performance hell.

Thanks in advance!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.