<blockquote>
<p>Why is "somebody" in quotes? If anyone wants to implement this, it would be most welcome, IMO.</p>
</blockquote>

<p>Well, it's easy enough to implement naively, and I gave it a shot for fun: <a href="https://github.com/b4n/geany-auto-scroll-width">https://github.com/b4n/geany-auto-scroll-width</a>.  It's a little more tricky to auto-hide the bottom scrollbar, but also doable.</p>

<p>But getting a version with zero performance impact would probably be a lot harder to do, and I guess would require altering Scintilla itself to store layout length in the line data itself, plus a global per-document value, and only re-compute the max width when the line changed width and had the largest width (if new width is larger, just update using this new value, instead find the new largest).</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/886#issuecomment-175190111">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ9i7ed9b1e_evJgWgzAv4SsVC3Aiks5pd8B2gaJpZM4HMZIc.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/886#issuecomment-175190111"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>