patch 8.1.1410: popup_move() is not implemented yet

Problem:    Popup_move() is not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4441)  Improve the
            positioning and resizing.
This commit is contained in:
Bram Moolenaar
2019-05-27 21:54:10 +02:00
parent b43683729b
commit 60cdb3004a
9 changed files with 179 additions and 61 deletions

View File

@ -84,7 +84,7 @@ Probably 2. is the best choice.
IMPLEMENTATION:
- Code is in popupwin.c
- Implement list of lines with text properties
- implement popup_getposition({id}), use in tests
- Implement filter.
- Handle screen resize in screenalloc().
- Make redrawing more efficient and avoid flicker.
@ -190,7 +190,6 @@ popup_show({id}) *popup_show()*
For {id} see `popup_hide()`.
popup_move({id}, {options}) *popup_move()*
{not implemented yet}
Move popup {id} to the position speficied with {options}.
{options} may contain the items from |popup_create()| that
specify the popup position: "line", "col", "pos", "maxheight",
@ -310,10 +309,8 @@ The second argument of |popup_create()| is a dictionary with options:
{not implemented yet}
maxheight maximum height
minheight minimum height
{not implemented yet}
maxwidth maximum width
minwidth minimum width
{not implemented yet}
hidden when TRUE the popup exists but is not displayed; use
`popup_show()` to unhide it.
{not implemented yet}