diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-26 22:03:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-26 22:03:00 +0200 |
commit | 3697c9bbae755831d3cf2f11179aaff29e343f51 (patch) | |
tree | 7dbdca17e7a50d28d76e95109b2c2811230727ab /src/proto/popupwin.pro | |
parent | c70bdab0b8a8262a3784084aa1e6271fee8452f1 (diff) |
patch 8.2.1750: popup_setoptions() setting firstline fails if cursorline setv8.2.1750
Problem: Setting firstline with popup_setoptions() fails if cursorline is
set.
Solution: Use apply_options(). Update the popup before applying "zz".
(closes #7010)
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r-- | src/proto/popupwin.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro index fe75702cef..2bdf4f529e 100644 --- a/src/proto/popupwin.pro +++ b/src/proto/popupwin.pro @@ -50,6 +50,7 @@ int popup_do_filter(int c); int popup_no_mapping(void); void popup_check_cursor_pos(void); void may_update_popup_mask(int type); +void may_update_popup_position(void); void update_popups(void (*win_update)(win_T *wp)); int set_ref_in_popups(int copyID); int popup_is_popup(win_T *wp); |