<p></p>
<p>Relevant settings:</p>
<ul>
<li>long line marker = 72, enabled</li>
<li>indent type = tabs</li>
<li>tab width = 8</li>
</ul>
<p>I noticed <code>C-j</code> sometimes does nothing even though a line is well over the long line marker but adding some more chars to the line occasionally makes it work.</p>
<p>Reproduce (with the setting from above):</p>
<ul>
<li>open new doc</li>
<li>insert 8 tabs</li>
<li>insert "a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a"</li>
<li>notice the cursor position is 127, but if you select everything it shows "sel: 71" in the status area</li>
<li>press <code>C-j</code> and notice nothing changes</li>
<li>insert a space</li>
<li>press <code>C-j</code> and notice it got reflowed nicely taking indentation into account.</li>
</ul>
<p>To me the culprit is the following piece since it doesn't take tab width into account</p>
<p><a href="https://github.com/geany/geany/blob/41624c411702d29834da0ff926f3c9f7c895bb47/src/keybindings.c#L2297-L2302">https://github.com/geany/geany/blob/41624c411702d29834da0ff926f3c9f7c895bb47/src/keybindings.c#L2297-L2302</a></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/2810">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYGJNTCYXKCQSV2PQTTN7P2LANCNFSM4463VTJQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ23KJAJK3YOPZHGXCTTN7P2LA5CNFSM4463VTJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NJVN5KQ.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/2810",
"url": "https://github.com/geany/geany/issues/2810",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>