Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix rendering bug when folds cause the vertical scrollbar to disappear with soft wrapping enabled #15800
Due to the fact that the soft-wrapping boundary can change due to a variety of different factors (scrollbars appearing or disappearing, font size changes, editor dimensions changing, etc), we decided to detect changes in the soft-wrap boundary at the start of every frame before proceeding with any other rendering.
This works fine in principle, but prior to this PR it was causing us to write inconsistent values for the
The solution in this PR is to
These two steps ensure that the