textview selection highlight may be shown when no selection
Sometime, with large text, the selection is still shown (and broken) when there should be no selection
How to reproduce:
- Open
gtk4-demo --run=markup
- enable Source toggle
- Select all text there and copy paste 15 times or so so that the buffer is large
- Select pretty large portion of text using mouse click drag (up to the end of buffer)
- Click somewhere in the selection
Result: The highlight of the line that was clicked last is gone, and the rest stays