Hi,
Thanks, those numbers were enough to reproduce it here.
It happens when 'wrap' is off and the popup is so close to the right
edge that the space left of it is smaller than "maxwidth". On a 120
column screen:
call popup_create([repeat('x', 93)],
\ #{line: 3, col: 80, maxwidth: 50, wrap: 0, border: []})
The popup is shifted left to fit the text on the screen, and that shift
raises the width limit itself. Patch 9.2.0247 already guarded against
this, but only for 'wrap' being on.
Fix: https://github.com/vim/vim/pull/20883
It happens when 'wrap' is off and the popup is so close to the right
edge that the space left of it is smaller than "maxwidth". On a 120
column screen:
call popup_create([repeat('x', 93)],
\ #{line: 3, col: 80, maxwidth: 50, wrap: 0, border: []})
The popup is shifted left to fit the text on the screen, and that shift
raises the width limit itself. Patch 9.2.0247 already guarded against
this, but only for 'wrap' being on.
Fix: https://github.com/vim/vim/pull/20883
--
Best regards,
Hirohito Higashi (h_east)
-- --
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/fa0b32e3-2b25-49da-87a2-ac2a431a1dc7n%40googlegroups.com.
No comments:
Post a Comment