Mercurial > vim
comparison src/proto/popupwin.pro @ 22403:3351d2cd3f1f v8.2.1750
patch 8.2.1750: popup_setoptions() setting firstline fails if cursorline set
Commit: https://github.com/vim/vim/commit/3697c9bbae755831d3cf2f11179aaff29e343f51
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 26 22:03:00 2020 +0200
patch 8.2.1750: popup_setoptions() setting firstline fails if cursorline set
Problem: Setting firstline with popup_setoptions() fails if cursorline is
set.
Solution: Use apply_options(). Update the popup before applying "zz".
(closes #7010)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Sep 2020 22:15:04 +0200 |
parents | 3d73cdd173ab |
children | a6721cafbc74 |
comparison
equal
deleted
inserted
replaced
22402:337df0dbfe0a | 22403:3351d2cd3f1f |
---|---|
48 win_T *find_next_popup(int lowest, int handled_flag); | 48 win_T *find_next_popup(int lowest, int handled_flag); |
49 int popup_do_filter(int c); | 49 int popup_do_filter(int c); |
50 int popup_no_mapping(void); | 50 int popup_no_mapping(void); |
51 void popup_check_cursor_pos(void); | 51 void popup_check_cursor_pos(void); |
52 void may_update_popup_mask(int type); | 52 void may_update_popup_mask(int type); |
53 void may_update_popup_position(void); | |
53 void update_popups(void (*win_update)(win_T *wp)); | 54 void update_popups(void (*win_update)(win_T *wp)); |
54 int set_ref_in_popups(int copyID); | 55 int set_ref_in_popups(int copyID); |
55 int popup_is_popup(win_T *wp); | 56 int popup_is_popup(win_T *wp); |
56 win_T *popup_find_preview_window(void); | 57 win_T *popup_find_preview_window(void); |
57 win_T *popup_find_info_window(void); | 58 win_T *popup_find_info_window(void); |