forked from aniani/vim
patch 8.1.1773: the preview popup window may be too far to the right
Problem: The preview popup window may be too far to the right. Solution: Keep it inside the screen. Also keep the close button and scrollbar visible if possible.
This commit is contained in:
@@ -5138,7 +5138,7 @@ prepare_tagpreview(
|
||||
{
|
||||
wp = popup_find_preview_window();
|
||||
if (wp != NULL)
|
||||
popup_set_wantpos(wp);
|
||||
popup_set_wantpos(wp, wp->w_minwidth);
|
||||
}
|
||||
else
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user