Steps to reproduce:
foo.bar
in Geany.vi
and modify it.foo.bar
The selection below is a result of a single click:
Screenshot.2024-06-13.at.16.02.18.png (view on web)
What I think happens is that when the widget with the warning appears at the top of the window, Scintilla scrolls the text by the amount of the height of the widget and all this happens within the click handler. As the scroll happens while the click is in progress, selection is made between the start Scintilla position of the click and the end position after the scroll.
Maybe postponing the display with the warning to idle would help here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.