diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-12 23:40:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-12 23:40:01 +0200 |
commit | 8d241040310a6a27c28d62fa04558f2bfaa5ebde (patch) | |
tree | f1a515e27bb96e672c85194b628a15487cafdfea /runtime | |
parent | 68d48f40a4da79547b53e3164b658812e154d411 (diff) |
patch 8.1.1523: cannot show range of buffer lines in popup windowv8.1.1523
Problem: Cannot show range of buffer lines in popup window.
Solution: Add the "firstline" property. (closes #4523)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/popup.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index b80b875595..7e56d35b9b 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -87,7 +87,6 @@ that it is in. IMPLEMENTATION: - Why does 'nrformats' leak from the popup window buffer??? -- Option to set first line to display (useful for a preview window) - Disable commands, feedkeys(), CTRL-W, etc. in a popup window. Use NOT_IN_POPUP_WINDOW for more commands. - Add 'balloonpopup': instead of showing text, let the callback open a popup @@ -396,6 +395,9 @@ The second argument of |popup_create()| is a dictionary with options: padding. minwidth Minimum width of the contents, excluding border and padding. + firstline First buffer line to display. When larger than one it + looks like the text scrolled up. When out of range + the last buffer line will at the top of the window. hidden When TRUE the popup exists but is not displayed; use `popup_show()` to unhide it. {not implemented yet} |