0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1608: the evalfunc.c file is too big

Problem:    The evalfunc.c file is too big.
Solution:   Move sign functionality to sign.c.
This commit is contained in:
Bram Moolenaar
2019-06-29 07:41:35 +02:00
parent 548be7f126
commit f9c85f580b
10 changed files with 130 additions and 22 deletions

View File

@@ -4561,20 +4561,7 @@ nv_mousescroll(cmdarg_T *cap)
}
#ifdef FEAT_TEXT_PROP
if (bt_popup(curwin->w_buffer))
{
int height = curwin->w_height;
curwin->w_firstline = curwin->w_topline;
popup_adjust_position(curwin);
// we don't want the popup to get smaller, decrement the first line
// until it doesn't
while (curwin->w_firstline > 1 && curwin->w_height < height)
{
--curwin->w_firstline;
popup_adjust_position(curwin);
}
}
popup_set_firstline(curwin);
#endif
}
# ifdef FEAT_GUI