Bram Moolenaar wrote: > The popup window feature has been implemented. Only a few minor things > remain. > > So this is a good time to try out popup windows, find any problems and > missing features. The best way is to try implementing what you want do > do with popup windows. > > Please read the help at ":help popup" and check it out.
Some doc corrections attached. Regards Dominique -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAON-T_gOFrP5G%3D0u2axURmUQ05qF5NR_JhYpS%3DvaXAHcjQgHJA%40mail.gmail.com.
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index 0a464103c..d3a0fb351 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -442,7 +442,7 @@ popup_notification({what}, {options}) *popup_notification()* < The PopupNotification highlight group is used instead of WarningMsg if it is defined. - Without the |+timers| feature the poup will not disappear + Without the |+timers| feature the popup will not disappear automatically, the user has to click in it. The position will be adjusted to avoid overlap with other @@ -486,7 +486,7 @@ popup_setoptions({id}, {options}) *popup_setoptions()* "tabpage" cannot be changed. popup_settext({id}, {text}) *popup_settext()* - Set the text of the buffer in poup win {id}. {text} is the + Set the text of the buffer in popup win {id}. {text} is the same as supplied to |popup_create()|, except that a buffer number is not allowed. Does not change the window size or position, other than caused @@ -583,13 +583,13 @@ The second argument of |popup_create()| is a dictionary with options: start and end as padding. wrap TRUE to make the lines wrap (default TRUE). drag TRUE to allow the popup to be dragged with the mouse - by grabbing at at the border. Has no effect if the + by grabbing at the border. Has no effect if the popup does not have a border. As soon as dragging starts and "pos" is "center" it is changed to "topleft". resize TRUE to allow the popup to be resized with the mouse - by grabbing at at the bottom right cornder. Has no - effect if the popup does not have a border. + by grabbing at the bottom right corner. Has no effect + if the popup does not have a border. close When "button" an X is displayed in the top-right, on top of any border, padding or text. When clicked on the X the popup will close. Any callback is invoked @@ -941,7 +941,7 @@ this example simulated with a timer callback: > call popup_close(s:winid) let s:winid = 0 endif - " simulate an asynchronous loopup for the text to display + " simulate an asynchronous lookup for the text to display let s:balloonText = v:beval_text call timer_start(100, 'ShowPopup') return ''