I didn't test (and am not 100% sure how I'd do that consistently), but if the idea behind is correct, the patch looks good.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/621#issuecomment-143547282
github-comments@lists.geany.org