comparison runtime/doc/popup.txt @ 17047:6400d1ad5e4b v8.1.1523

patch 8.1.1523: cannot show range of buffer lines in popup window commit https://github.com/vim/vim/commit/8d241040310a6a27c28d62fa04558f2bfaa5ebde Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 12 23:40:01 2019 +0200 patch 8.1.1523: cannot show range of buffer lines in popup window Problem: Cannot show range of buffer lines in popup window. Solution: Add the "firstline" property. (closes https://github.com/vim/vim/issues/4523)
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Jun 2019 23:45:04 +0200
parents 7fe328ad5573
children 221d4b82bc0b
comparison
equal deleted inserted replaced
17046:b1b684caeb40 17047:6400d1ad5e4b
85 85
86 86
87 87
88 IMPLEMENTATION: 88 IMPLEMENTATION:
89 - Why does 'nrformats' leak from the popup window buffer??? 89 - Why does 'nrformats' leak from the popup window buffer???
90 - Option to set first line to display (useful for a preview window)
91 - Disable commands, feedkeys(), CTRL-W, etc. in a popup window. 90 - Disable commands, feedkeys(), CTRL-W, etc. in a popup window.
92 Use NOT_IN_POPUP_WINDOW for more commands. 91 Use NOT_IN_POPUP_WINDOW for more commands.
93 - Add 'balloonpopup': instead of showing text, let the callback open a popup 92 - Add 'balloonpopup': instead of showing text, let the callback open a popup
94 window and return the window ID. The popup will then be closed when the 93 window and return the window ID. The popup will then be closed when the
95 mouse moves, except when it moves inside the popup. 94 mouse moves, except when it moves inside the popup.
394 padding. 393 padding.
395 maxwidth Maximum width of the contents, excluding border and 394 maxwidth Maximum width of the contents, excluding border and
396 padding. 395 padding.
397 minwidth Minimum width of the contents, excluding border and 396 minwidth Minimum width of the contents, excluding border and
398 padding. 397 padding.
398 firstline First buffer line to display. When larger than one it
399 looks like the text scrolled up. When out of range
400 the last buffer line will at the top of the window.
399 hidden When TRUE the popup exists but is not displayed; use 401 hidden When TRUE the popup exists but is not displayed; use
400 `popup_show()` to unhide it. 402 `popup_show()` to unhide it.
401 {not implemented yet} 403 {not implemented yet}
402 tab When -1: display the popup on all tabs. 404 tab When -1: display the popup on all tabs.
403 When 0 (the default): display the popup on the current 405 When 0 (the default): display the popup on the current