[Github-comments] [geany] Horizontal scroll bar is far wider than longest line in the file (#886)

elextr notifications at xxxxx
Tue Jan 26 12:19:20 UTC 2016


Correct.  The editing widget we use does not measure the length of lines to determine the width of the longest line since that would require laying out and measuring the entire file instead of only the visible area.  So it tracks the longest line that it has displayed and sets the scroll bar for that, but it starts with an initial guesstimate of 2000 pixels, which might be about 300 chars depending on your font size.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/886#issuecomment-174978155
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160126/9e88ae28/attachment.html>


More information about the Github-comments mailing list