When a non-fixed popup with wrap=1 and an explicit maxwidth was placed near the right edge of the screen, the shift-left logic increased maxwidth beyond the user-specified value, preventing text from wrapping.
Now the shift amount is capped so that maxwidth does not exceed w_maxwidth when wrapping is enabled, letting text wrap as expected.
fixes #19767
https://github.com/vim/vim/pull/19809
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@Aster89 Will this PR resolve the issue you are reporting?
@bstaletic I don't think this pull request has changed the behavior of your patch(13c1153). Is there a problem?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@Aster89 Will this PR resolve the issue you are reporting?
Yes, @h-east, it will. I've double checked.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()