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
Clear dimensions cache when approximate screen line count changes #15821
It is possible for the approximate screen line count to exceed the actual number of lines. This may happen if there are many soft-wraps and the display layer hasn't indexed the entire contents of the buffer.
In that circumstance, if a user attempts to scroll to a position that does not exist, we are unable to clip it correctly in