comparison src/popupwin.c @ 17121:808ea76535a9 v8.1.1560

patch 8.1.1560: popup window hidden option not implemented yet commit https://github.com/vim/vim/commit/6313c4f41d0e1d91b4217557685c014ea919915f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 16 20:39:13 2019 +0200 patch 8.1.1560: popup window hidden option not implemented yet Problem: Popup window hidden option not implemented yet. Solution: Implement the hidden option.
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Jun 2019 20:45:04 +0200
parents b439e096a011
children efc6f5e3b543
comparison
equal deleted inserted replaced
17120:d6f065ba684d 17121:808ea76535a9
424 wp->w_popup_mincol = tv_get_number(&l->lv_first->li_tv); 424 wp->w_popup_mincol = tv_get_number(&l->lv_first->li_tv);
425 wp->w_popup_maxcol = tv_get_number(&l->lv_first->li_next->li_tv); 425 wp->w_popup_maxcol = tv_get_number(&l->lv_first->li_next->li_tv);
426 } 426 }
427 else 427 else
428 semsg(_(e_invarg2), tv_get_string(&di->di_tv)); 428 semsg(_(e_invarg2), tv_get_string(&di->di_tv));
429 }
430
431 nr = dict_get_number(dict, (char_u *)"hidden");
432 if (nr > 0)
433 {
434 wp->w_popup_flags |= POPF_HIDDEN;
435 --wp->w_buffer->b_nwindows;
429 } 436 }
430 437
431 popup_mask_refresh = TRUE; 438 popup_mask_refresh = TRUE;
432 } 439 }
433 440