This is based on a patch. It builds on gtk3 as well as gtk2 but not thoroughly tested.
https://github.com/geany/geany-plugins/pull/352
—Reply to this email directly or view it on GitHub.