From 30efcf3d26bd14af71cd306c4c5f9e789a7130c9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 3 Nov 2019 22:29:38 +0100 Subject: 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) --- runtime/doc/popup.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index 2ac54b638..fc00ecffc 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -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 -- cgit v1.2.1