Mercurial > vim
comparison src/proto/popupwin.pro @ 17551:8cca2654d459 v8.1.1773
patch 8.1.1773: the preview popup window may be too far to the right
commit https://github.com/vim/vim/commit/13d5c3f6162694a7e925e66fc4eea35436643384
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 28 21:42:38 2019 +0200
patch 8.1.1773: the preview popup window may be too far to the right
Problem: The preview popup window may be too far to the right.
Solution: Keep it inside the screen. Also keep the close button and
scrollbar visible if possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Jul 2019 21:45:05 +0200 |
parents | 1e45331bd2ab |
children | 696030820746 |
comparison
equal
deleted
inserted
replaced
17550:9afddb85a45c | 17551:8cca2654d459 |
---|---|
7 void popup_handle_scrollbar_click(win_T *wp, int row, int col); | 7 void popup_handle_scrollbar_click(win_T *wp, int row, int col); |
8 int popup_height(win_T *wp); | 8 int popup_height(win_T *wp); |
9 int popup_width(win_T *wp); | 9 int popup_width(win_T *wp); |
10 void popup_adjust_position(win_T *wp); | 10 void popup_adjust_position(win_T *wp); |
11 int parse_previewpopup(win_T *wp); | 11 int parse_previewpopup(win_T *wp); |
12 void popup_set_wantpos(win_T *wp); | 12 void popup_set_wantpos(win_T *wp, int width); |
13 void f_popup_clear(typval_T *argvars, typval_T *rettv); | 13 void f_popup_clear(typval_T *argvars, typval_T *rettv); |
14 void f_popup_create(typval_T *argvars, typval_T *rettv); | 14 void f_popup_create(typval_T *argvars, typval_T *rettv); |
15 void f_popup_atcursor(typval_T *argvars, typval_T *rettv); | 15 void f_popup_atcursor(typval_T *argvars, typval_T *rettv); |
16 void f_popup_beval(typval_T *argvars, typval_T *rettv); | 16 void f_popup_beval(typval_T *argvars, typval_T *rettv); |
17 void popup_close_for_mouse_click(win_T *wp); | 17 void popup_close_for_mouse_click(win_T *wp); |