<p></p>
<p>Open a document (JavaScript) that only contains a Tab followed by any character.<br>
Status bar settings should use <code>%C</code> to display column position (if your setting is <code>%c</code>, subtract 1 to all my examples).</p>
<pre><code>→a
</code></pre>
<p>(where the → character represents the Tab character)</p>
<ul>
<li>When you press Ctrl+Home, column is 1, correct <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></li>
<li>When you press Ctrl+End, column should be 3, but it is 6 <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji></li>
<li>Indeed, when you now press left arrow, column should be 2, but it is 5 <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji></li>
</ul>
<p>The problem is that the Tab is counted as 4 characters instead of 1.</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/issues/2733">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3VPAENSKXA6QZ6KGDS22KBLANCNFSM4WKKI33A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ64OPDBU6AJRDRJ34LS22KBLA5CNFSM4WKKI33KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LYS6FYA.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/issues/2733",
"url": "https://github.com/geany/geany/issues/2733",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>