You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix content view frame and origins for text selection and interaction
The content view frame origin is now set to the width of the gutter view,
instead of the negative width. This fixes issues where the origins and frames
for text selection rectangles, closest position calculations, and other text
interactions were incorrectly offset.
When sizing to fit, the content view frame is now set based on the text view's
frame width/height instead of bounds, and the content size is set to match.
The line highlight and selection rectangle calculations now use a fixed origin
of 0 for the x coordinate, instead of the content view's frame origin x. The
line selection rectangle width uses the content view's bounds width.
0 commit comments