<p>If the selection start > end, just swapping the vars is not enough, when altering it it has to set both ends.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/commit/dc0af51b96d4b98ada550d464b0cd17b24268419#commitcomment-16224233">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJxssDPhJqDX-2MGk_azkS_pQgRYCks5pmP4TgaJpZM4HeyS8.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/commit/dc0af51b96d4b98ada550d464b0cd17b24268419#commitcomment-16224233"></link>
  <meta itemprop="name" content="View Commit"></meta>
</div>
<meta itemprop="description" content="View this Commit on GitHub"></meta>
</div>