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.
diff --git a/src/normal.c b/src/normal.c
index 0ab3db4..2015fd8 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4561,20 +4561,7 @@
}
#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