Mercurial > vim
diff runtime/doc/popup.txt @ 19721:bceeded72898
Update runtime files
Commit: https://github.com/vim/vim/commit/ff78155aa1755aced96a3b343e81939c94aac721
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 20:37:11 2020 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Mar 2020 20:45:06 +0100 |
parents | b70fbf3f0e0b |
children | 350e1d3131d8 |
line wrap: on
line diff
--- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -1,4 +1,4 @@ -*popup.txt* For Vim version 8.2. Last change: 2020 Feb 20 +*popup.txt* For Vim version 8.2. Last change: 2020 Mar 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -152,6 +152,8 @@ different: *E863* then becomes hidden. - The default Pmenu color is only used for the border and padding. To change the color of the terminal itself set 'wincolor'. +- The default minimal size is 5 lines of 20 characters; Use the "minwidth" and + "minheight" parameters to set a different value. To run a terminal in a popup window, first create the terminal hidden. Then pass the buffer number to popup_create(). Example: > @@ -566,7 +568,8 @@ properties. It is in one of four forms: If you want to create a new buffer yourself use |bufadd()| and pass the buffer number to popup_create(). -It is not possible to use the buffer of a terminal window. *E278* +It is not possible to use the buffer of a terminal window. *E278* You CAN +create a hidden terminal buffer and use that one in a popup window. The second argument of |popup_create()| is a dictionary with options: line Screen line where to position the popup. Can use a