In response to pull request [#1338](https://github.com/geany/geany-plugins/pull/1338)
After read the [https://sourceforge.net/p/scintilla/bugs/2438/%5D(https://sourceforge.net/p/...) report, I think the best way to automatically set the cursor position on the visible line is surely to track the SCN_MARGINCLICK event. I did some modification to handle this with the commit [5608b74](https://github.com/geany/geany-plugins/pull/1326/commits/5608b74cba25b571428...) .