comparison src/ex_cmds.c @ 17817:e8a7029efa40 v8.1.1905

patch 8.1.1905: cannot set all properties of the info popup Commit: https://github.com/vim/vim/commit/c7c5f10a36fdeea353e026da28526ff9fb35e367 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 21 18:31:03 2019 +0200 patch 8.1.1905: cannot set all properties of the info popup Problem: Cannot set all properties of the info popup. Solution: Add popup_findinfo(). Rename popup_getpreview() to popup_findpreview().
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Aug 2019 18:45:04 +0200
parents 59f8948b7590
children 1868ec23360e
comparison
equal deleted inserted replaced
17816:2ddc513cd1ab 17817:e8a7029efa40
5152 popup_set_wantpos_cursor(wp, wp->w_minwidth); 5152 popup_set_wantpos_cursor(wp, wp->w_minwidth);
5153 } 5153 }
5154 else if (use_popup) 5154 else if (use_popup)
5155 { 5155 {
5156 wp = popup_find_info_window(); 5156 wp = popup_find_info_window();
5157 // TODO: set position 5157 if (wp != NULL)
5158 popup_show(wp);
5158 } 5159 }
5159 else 5160 else
5160 # endif 5161 # endif
5161 { 5162 {
5162 FOR_ALL_WINDOWS(wp) 5163 FOR_ALL_WINDOWS(wp)