Summary: | kate scrollbar doesn't take into account line length | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | David <david.cortes.rivera> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | 4wy78uwh, cullmann, tustamido |
Priority: | NOR | ||
Version: | 20.12.0 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
David
2021-01-30 22:03:20 UTC
Unfortunately that is by design. If we want to support that, then Kate would have to layout all lines in the document to know exactly how many wrapped lines are in the view. Layouting all lines can be really slow since Kate supports right-to-left languages as well. We already have issues about Kate being slow for very long lines. Adding support for this behavior would make it worse. The only possible workaround would be that Kate knows it has only ascii content (special case), since then with a fixed font we'd know exactly how long a line would really be. Currently, we always decided to not add such a special case... So we have to live with it. Scrolling with the mouse wheel should work, though. Yes, that is by design. One can keep this as some wish to alter this behavior, but this is unlikely to happen. *** Bug 453912 has been marked as a duplicate of this bug. *** Not implemented, if somebody wants to have that, please submit a patch. So far there was no interest to implement that for years. https://kate-editor.org/join-us/ |