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

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

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).

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/886#issuecomment-175190111

Reply via email to