Re: Bug in popup maxwidth?
h_east <[email protected]> Wed, 29 Jul 2026 06:33:42 -0700 (PDT)
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1018038_1774119314.1785332022550 Content-Type: multipart/alternative; boundary="----=_Part_1018039_829004782.1785332022550" ------=_Part_1018039_829004782.1785332022550 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, "maxwidth" still limits the width, what changed is how the width is computed. Since patch 9.2.0419 it is the longest line in the whole buffer, not the longest displayed line, so that the width does not change while you scroll the popup with the mouse wheel. The completion menu works the same way. So a buffer with one long line now sits at "maxwidth" all the time. The documentation still described the old rule, which is being corrected: https://github.com/vim/vim/pull/20870 If that is too wide, lower "maxwidth". -- Best regards, Hirohito Higashi (h_east) github.com/sponsors/h-east <https://t.co/5nc0IkIaZ1>=20 2026=E5=B9=B45=E6=9C=8827=E6=97=A5=E6=B0=B4=E6=9B=9C=E6=97=A5 23:25:11 UTC+= 9 Salman Halim: > Hello, > > GVim 9.2, patch 541, Windows 11. > > My popups are as wide as the widest line, ignoring the maxwidth setting.= =20 > This was working fine in 9.1, patch 2125, from where I upgraded yesterday= . > > The maxheight works fine. > > -- > =20 > Salman > > I, too, shall something make and glory in the making. > > --=20 --=20 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 ---=20 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 e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_use/353= a95ad-1519-4b32-82a7-64d8ca8a4618n%40googlegroups.com. ------=_Part_1018039_829004782.1785332022550 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div>Hi,</div><div><br /></div><div>"maxwidth" still limits the width, what= changed is how the width is<br />computed. =C2=A0Since patch 9.2.0419 it i= s the longest line in the whole<br />buffer, not the longest displayed line= , so that the width does not change<br />while you scroll the popup with th= e mouse wheel. =C2=A0The completion menu<br />works the same way.<br /><br = />So a buffer with one long line now sits at "maxwidth" all the time. =C2= =A0The<br />documentation still described the old rule, which is being corr= ected:<br />https://github.com/vim/vim/pull/20870<br /><br />If that is too= wide, lower "maxwidth".<br /><br /></div><div>--</div><div>Best regards,</= div><div>Hirohito Higashi (h_east)</div><div> <a dir=3D"ltr" href=3D"https://t.co/5nc0IkIaZ1" rel=3D"noopener noreferrer = nofollow" target=3D"_blank" role=3D"link" style=3D"color: rgb(0, 186, 124);= ">github.com/sponsors/h-east</a> </div><br /><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_att= r">2026=E5=B9=B45=E6=9C=8827=E6=97=A5=E6=B0=B4=E6=9B=9C=E6=97=A5 23:25:11 U= TC+9 Salman Halim:<br/></div><blockquote class=3D"gmail_quote" style=3D"mar= gin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: = 1ex;"><div dir=3D"ltr"><div>Hello,</div><div><br></div><div>GVim 9.2, patch= 541, Windows 11.</div><div><br></div><div>My popups are as wide as the wid= est line, ignoring the maxwidth setting. This was working fine in 9.1, patc= h 2125, from where I upgraded yesterday.</div><div><br></div><div>The maxhe= ight works fine.</div><div><br></div><div>--</div><div dir=3D"ltr" class=3D= "gmail_signature" data-smartmail=3D"gmail_signature">=C2=A0<br>Salman<br><b= r>I, too, shall something make and glory in the making.<br><br></div></div> </blockquote></div> <p></p> -- <br /> -- <br /> You received this message from the "vim_use" maillist.<br /> Do not top-post! Type your reply below the text you are replying to.<br /> For more information, visit <a href=3D"http://www.vim.org/maillist.php">htt= p://www.vim.org/maillist.php</a><br /> <br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;vim_use" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">vim_use+uns= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= vim_use/353a95ad-1519-4b32-82a7-64d8ca8a4618n%40googlegroups.com?utm_medium= =3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/vim_use/353= a95ad-1519-4b32-82a7-64d8ca8a4618n%40googlegroups.com</a>.<br /> ------=_Part_1018039_829004782.1785332022550-- ------=_Part_1018038_1774119314.1785332022550--