comparison src/proto/popupwin.pro @ 18558:e5ef5d820b5b v8.1.2273

patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor() Commit: https://github.com/vim/vim/commit/4dd8fe0b4f49ec267640fb457672452825b11df0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 9 15:33:31 2019 +0100 patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor() Problem: Wrong default when "pos" is changed with popup_atcursor(). Solution: Adjust the default line and col when "pos" is not the default value. (#5151)
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Nov 2019 15:45:04 +0100
parents ba5d8c5d77d7
children fa995154904e
comparison
equal deleted inserted replaced
18557:6b3126903e2e 18558:e5ef5d820b5b
10 int popup_height(win_T *wp); 10 int popup_height(win_T *wp);
11 int popup_width(win_T *wp); 11 int popup_width(win_T *wp);
12 int popup_extra_width(win_T *wp); 12 int popup_extra_width(win_T *wp);
13 int parse_previewpopup(win_T *wp); 13 int parse_previewpopup(win_T *wp);
14 int parse_completepopup(win_T *wp); 14 int parse_completepopup(win_T *wp);
15 void popup_set_wantpos_cursor(win_T *wp, int width); 15 void popup_set_wantpos_cursor(win_T *wp, int width, dict_T *d);
16 void popup_set_wantpos_rowcol(win_T *wp, int row, int col); 16 void popup_set_wantpos_rowcol(win_T *wp, int row, int col);
17 void f_popup_clear(typval_T *argvars, typval_T *rettv); 17 void f_popup_clear(typval_T *argvars, typval_T *rettv);
18 void f_popup_create(typval_T *argvars, typval_T *rettv); 18 void f_popup_create(typval_T *argvars, typval_T *rettv);
19 void f_popup_atcursor(typval_T *argvars, typval_T *rettv); 19 void f_popup_atcursor(typval_T *argvars, typval_T *rettv);
20 void f_popup_beval(typval_T *argvars, typval_T *rettv); 20 void f_popup_beval(typval_T *argvars, typval_T *rettv);