Age | Commit message (Collapse) | Author |
|
|
|
|
|
An empty document would could the widget to be drawn as a black non-themed rectangle, with a single-pixel horizontal line in the middle. This fixes that by just clearing the widget to the UI background color.
The most notable situation where this occurred was immediately after activating split view mode.
|
|
Ensure there is more buffered content available in the current scrolling direction, and also make sure that all buffers get pre-rendered after a short delay with the view being stationary.
|
|
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.
|
|
|
|
The state of the VisBuf should be fully cleared when invalidating.
IssueID #1
|
|
|
|
|
|
This will be used in DocumentWidget as well.
|