<blockquote>
<p>-fixed a bug when one selects text from right to left and then shifts it<br>
(see comment "in case selection_start was after selection_end" in my code)</p>
</blockquote>
<p>This seems to already have been fixed by <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=793526" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/b4n">@b4n</a> in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/geany/geany-plugins/commit/dc0af51b96d4b98ada550d464b0cd17b24268419/hovercard" href="https://github.com/geany/geany-plugins/commit/dc0af51b96d4b98ada550d464b0cd17b24268419"><tt>dc0af51</tt></a>. I cannot reproduce any issue on selecting text from the right and shifting it. Works fine.</p>
<blockquote>
<p>-When no text is selected, now the current word is exchanged with the<br>
next/previous, which I find quite useful.</p>
</blockquote>
<p>IMHO this does not fit into this plugin. If someone needs it then a new PR to a different plugin where it fits in or a new plugin is welcome.</p>
<p>I vote for closing this un-merged. What do the others think?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/317?email_source=notifications&email_token=AAIOWJ6VW7PNLW5YCWWZQCTQMT7QTA5CNFSM4BV7SB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAGB23A#issuecomment-537664876">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5IWEK5AEJJO4RZZC3QMT7QTANCNFSM4BV7SB4A">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYRIH65CO5RLDKHUR3QMT7QTA5CNFSM4BV7SB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAGB23A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/317?email_source=notifications\u0026email_token=AAIOWJ6VW7PNLW5YCWWZQCTQMT7QTA5CNFSM4BV7SB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAGB23A#issuecomment-537664876",
"url": "https://github.com/geany/geany-plugins/pull/317?email_source=notifications\u0026email_token=AAIOWJ6VW7PNLW5YCWWZQCTQMT7QTA5CNFSM4BV7SB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAGB23A#issuecomment-537664876",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>