If the selection start > end, just swapping the vars is not enough, when altering it it has to set both ends.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/commit/dc0af51b96d4b98ada550d464b0cd17b24268419#commitcomment-16224233
