1
0
forked from aniani/vim

patch 8.1.2250: CTRL-U and CTRL-D don't work in popup window

Problem:    CTRL-U and CTRL-D don't work in popup window.
Solution:   Initialize 'scroll'.  Add "lastline" in popup_getpos().
            (closes #5170)
This commit is contained in:
Bram Moolenaar
2019-11-03 22:29:38 +01:00
parent d047840ce4
commit 30efcf3d26
4 changed files with 28 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
*popup.txt* For Vim version 8.1. Last change: 2019 Oct 20
*popup.txt* For Vim version 8.1. Last change: 2019 Nov 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -362,6 +362,7 @@ popup_getpos({id}) *popup_getpos()*
core_height height of the text box in screen cells
firstline line of the buffer at top (1 unless scrolled)
(not the value of the "firstline" property)
lastline line of the buffer at the bottom
scrollbar non-zero if a scrollbar is displayed
visible one if the popup is displayed, zero if hidden
Note that these are the actual screen positions. They differ