<p>This is working as expected.  The tab key is not a "shift right" key, it is an insert.  It inserts sufficient whitespace so the first non-whitespace after the selection moves to the next tab stop.  Note that this is a normal insert, ie any selection is replaced by the inserted text.  This is normal behaviour for any insert, by typing, by paste, by the tab key.</p>

<p>Simply select a vertical line before the text you want to move, ie where you want the insert, don't select the text you want to move or it will be replaced.</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/issues/761#issuecomment-156887052">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0-TywMp9onsjefJzEMp-ABFkTMeks5pGSpHgaJpZM4GiqbC.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/issues/761#issuecomment-156887052"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>