Age | Commit message (Collapse) | Author |
|
One of the four buffers will be always outside the viewport.
|
|
VisBuf now guarantees that all the buffers are sequentially ordered. This ensure complete utilization of all the buffers. Previously some buffers were not used at all, or allocated to the same origin as another one (!).
DocumentWidget is able to progressively fill up a buffer while scrolling. After any change to the visible region has been detected (and there are no ongoing changes), prerender the remaining runs one at a time. This solves the issue where one text run would be always unnecessarily rendered while scrolling, even if the scroll distance was just one pixel.
|
|
Instead of 1.5x coverage, the buffer now has a full 2x.
|
|
|
|
|
|
This will be used in DocumentWidget as well.
|