comparison runtime/doc/popup.txt @ 16817:069ee8dc8c8d v8.1.1410

patch 8.1.1410: popup_move() is not implemented yet commit https://github.com/vim/vim/commit/60cdb3004abe683e5e8851fa6c5d67b337df4443 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 27 21:54:10 2019 +0200 patch 8.1.1410: popup_move() is not implemented yet Problem: Popup_move() is not implemented yet. Solution: Implement it. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/4441) Improve the positioning and resizing.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 May 2019 22:00:07 +0200
parents 0457d49eb2d9
children 5cebaecad422
comparison
equal deleted inserted replaced
16816:b951a6ebd627 16817:069ee8dc8c8d
82 Probably 2. is the best choice. 82 Probably 2. is the best choice.
83 83
84 84
85 IMPLEMENTATION: 85 IMPLEMENTATION:
86 - Code is in popupwin.c 86 - Code is in popupwin.c
87 - Implement list of lines with text properties 87 - implement popup_getposition({id}), use in tests
88 - Implement filter. 88 - Implement filter.
89 - Handle screen resize in screenalloc(). 89 - Handle screen resize in screenalloc().
90 - Make redrawing more efficient and avoid flicker. 90 - Make redrawing more efficient and avoid flicker.
91 - Properly figure out the size and position. 91 - Properly figure out the size and position.
92 - Implement all the unimplemented options and features. 92 - Implement all the unimplemented options and features.
188 popup_show({id}) *popup_show()* 188 popup_show({id}) *popup_show()*
189 If {id} is a hidden popup, show it now. 189 If {id} is a hidden popup, show it now.
190 For {id} see `popup_hide()`. 190 For {id} see `popup_hide()`.
191 191
192 popup_move({id}, {options}) *popup_move()* 192 popup_move({id}, {options}) *popup_move()*
193 {not implemented yet}
194 Move popup {id} to the position speficied with {options}. 193 Move popup {id} to the position speficied with {options}.
195 {options} may contain the items from |popup_create()| that 194 {options} may contain the items from |popup_create()| that
196 specify the popup position: "line", "col", "pos", "maxheight", 195 specify the popup position: "line", "col", "pos", "maxheight",
197 "minheight", "maxwidth" and "minwidth". 196 "minheight", "maxwidth" and "minwidth".
198 For {id} see `popup_hide()`. 197 For {id} see `popup_hide()`.
308 avoid overlap with the |popupmenu-completion| or 307 avoid overlap with the |popupmenu-completion| or
309 another popup with a higher "zindex" 308 another popup with a higher "zindex"
310 {not implemented yet} 309 {not implemented yet}
311 maxheight maximum height 310 maxheight maximum height
312 minheight minimum height 311 minheight minimum height
313 {not implemented yet}
314 maxwidth maximum width 312 maxwidth maximum width
315 minwidth minimum width 313 minwidth minimum width
316 {not implemented yet}
317 hidden when TRUE the popup exists but is not displayed; use 314 hidden when TRUE the popup exists but is not displayed; use
318 `popup_show()` to unhide it. 315 `popup_show()` to unhide it.
319 {not implemented yet} 316 {not implemented yet}
320 tab when -1: display the popup on all tabs; when 0 (the 317 tab when -1: display the popup on all tabs; when 0 (the
321 default): display the popup on the current tab; 318 default): display the popup on the current tab;