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:
15
src/normal.c
15
src/normal.c
@@ -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
|
||||
|
Reference in New Issue
Block a user