textview: fix off-by-one in y_range invalidation
authorChristian Hergert <chergert@redhat.com>
Wed, 9 Oct 2019 17:43:34 +0000 (10:43 -0700)
committerChristian Hergert <chergert@redhat.com>
Wed, 9 Oct 2019 17:43:34 +0000 (10:43 -0700)
commite4a00f864d845398e77bdeafdffd7f98b1d4cc3b
tree3189f94f1de1c1f6ff5c9a92c16392cec5ebb3bb
parent329f7c1c40ebeeb1fe38e59818b3a7495f8c334d
textview: fix off-by-one in y_range invalidation

Previously, with selection bounds, we could have a state where a line
display with selections set would eroniously stay in the cache. This
aggresively releases those at the boundary cases fixing deselection
drawing state.
gtk/gtktextlinedisplaycache.c