textview: Render visible marks better
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 Jan 2020 17:43:30 +0000 (12:43 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 3 Jan 2020 18:00:53 +0000 (13:00 -0500)
commit9c2c5665df42ed13bb43a55997d34ef6dffe6d9d
tree4c1848cca99c9d27f141d3a6d89a8071a39602d9
parent1be9c6aa3fbc1a667b545c30d80440b6b383f3a5
textview: Render visible marks better

The only other visible mark that is in common use
besides insert and selection_bound is dnd_mark, and
we don't want it to blink or be affected by 'cursor'
visibility.

Therefore, cache not just the cursor positions, but
also whether they are insert or selection_bound,
and take that into account when rendering them.
gtk/gtktextlayout.c
gtk/gtktextlayoutprivate.h