Scroll to cursor after deselecting a long line
Version: gtk 3.24.21 used in gedit 3.36.2 or mousepad 0.4.2
Steps to reproduce:
- Disable text wrapping or word wrap, or write a line containing a sufficiently long word to make the horizontal scroll bar appear
- Place the cursor at the start of the line, and select until the end
- Move the cursor on the left, using left arrow or home key
Expected behavior: the view should scroll to cursor at the start of the line
Actual behavior: the view stay focused at the end of the line