diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-29 20:26:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-29 20:26:46 +0200 |
commit | bc133543b8b0ebb1d8624e37d840b739eb00f3f3 (patch) | |
tree | 9e4d3f60b3643beea68e42efa9153f8c524502ed /runtime | |
parent | 59edb00e2219d4eda34b32a5d405f245053c5b74 (diff) |
patch 8.1.1416: popup_getposition() not implemented yetv8.1.1416
Problem: Popup_getposition() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4449)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/popup.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index b92871506f..1954754548 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -84,11 +84,17 @@ Probably 2. is the best choice. IMPLEMENTATION: - Code is in popupwin.c -- implement popup_getposition({id}), use in tests +- when creating the window set options to Vim default? (verify with 'number') +- Do not show tilde below last line. - Implement filter. + Check that popup_close() works in the filter. - Handle screen resize in screenalloc(). - Make redrawing more efficient and avoid flicker. + Fix redrawing problem with completion. + Fix redrawing problem when scrolling non-current window + Fix redrawing the statusline on top of a popup - Properly figure out the size and position. +- Can the buffer be re-used, to avoid using up lots of buffer numbers? - Implement all the unimplemented options and features. @@ -225,13 +231,16 @@ popup_getoptions({id}) *popup_getoptions()* Return the {options} for popup {id}. popup_getposition({id}) *popup_getposition()* - {not implemented yet} Return the position and size of popup {id}. Returns a Dict with these entries: col screen column of the popup, one-based line screen line of the popup, one-based width width of the popup in screen cells height height of the popup in screen cells + Note that these are the actual screen positions. They differ + from the values in `popup_getoptions()` for the sizing and + positioning mechanism applied. + If popup window {id} is not found an empty Dict is returned. win_execute({id}, {command}) {not implemented yet} |