summaryrefslogtreecommitdiffstats
path: root/src/proto/popupwin.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-18 15:25:17 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-18 15:25:17 +0200
commit576a4a6ff14da876d7c4418e5f27e926fcfa8d2a (patch)
tree6c34c1eaed6f1b46c573bb0fe3ce8d375e678e29 /src/proto/popupwin.pro
parent93cf85f9ef02931de3f8c8e536a137da0b48b7dc (diff)
patch 8.1.1880: cannot show extra info for completion in a popup windowv8.1.1880
Problem: Cannot show extra info for completion in a popup window. Solution: Add the "popup" entry in 'completeopt'.
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r--src/proto/popupwin.pro11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro
index f1d0d2b523..f2cbf074b7 100644
--- a/src/proto/popupwin.pro
+++ b/src/proto/popupwin.pro
@@ -8,9 +8,11 @@ int popup_is_in_scrollbar(win_T *wp, int row, int col);
void popup_handle_scrollbar_click(win_T *wp, int row, int col);
int popup_height(win_T *wp);
int popup_width(win_T *wp);
+int popup_extra_width(win_T *wp);
void popup_adjust_position(win_T *wp);
int parse_previewpopup(win_T *wp);
-void popup_set_wantpos(win_T *wp, int width);
+void popup_set_wantpos_cursor(win_T *wp, int width);
+void popup_set_wantpos_rowcol(win_T *wp, int row, int col);
void f_popup_clear(typval_T *argvars, typval_T *rettv);
void f_popup_create(typval_T *argvars, typval_T *rettv);
void f_popup_atcursor(typval_T *argvars, typval_T *rettv);
@@ -44,10 +46,11 @@ void may_update_popup_mask(int type);
void update_popups(void (*win_update)(win_T *wp));
int set_ref_in_popups(int copyID);
win_T *popup_find_preview_window(void);
-void f_popup_getpreview(typval_T *argvars, typval_T *rettv);
int popup_is_popup(win_T *wp);
-int popup_create_preview_window(void);
-void popup_close_preview(void);
+win_T *popup_find_info_window(void);
+void f_popup_getpreview(typval_T *argvars, typval_T *rettv);
+int popup_create_preview_window(int info);
+void popup_close_preview(int info);
void popup_set_title(win_T *wp);
void popup_update_preview_title(void);
/* vim: set ft=c : */