Mercurial > vim
diff runtime/doc/eval.txt @ 17257:cb0ca75f0c26 v8.1.1628
patch 8.1.1628: popup window functions not in list of functions
commit https://github.com/vim/vim/commit/931a277145d8fc9544765047116afe557eb606d2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 4 16:54:54 2019 +0200
patch 8.1.1628: popup window functions not in list of functions
Problem: Popup window functions not in list of functions.
Solution: Add popup window functins to the list of functions. Reorganise
the popup window help.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Jul 2019 17:00:05 +0200 |
parents | 26e0352613ec |
children | 6dbb9b3c53e2 |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2534,6 +2534,24 @@ nr2char({expr} [, {utf8}]) String single or({expr}, {expr}) Number bitwise OR pathshorten({expr}) String shorten directory names in a path perleval({expr}) any evaluate |Perl| expression +popup_atcursor({what}, {options}) Number create popup window near the cursor +popup_clear() none close all popup windows +popup_close({id} [, {result}]) none close popup window {id} +popup_create({what}, {options}) Number create a popup window +popup_dialog({what}, {options}) Number create a popup window used as a dialog +popup_filter_menu({id}, {key}) Number filter for a menu popup window +popup_filter_yesno({id}, {key}) Number filter for a dialog popup window +popup_getoptions({id}) Dict get options of popup window {id} +popup_getpos({id}) Dict get position of popup window {id} +popup_hide({id}) none hide popup menu {id} +popup_menu({what}, {options}) Number create a popup window used as a menu +popup_move({id}, {options}) none set position of popup window {id} +popup_notification({what}, {options}) + Number create a notification popup window +popup_show({id}) none unhide popup window {id} +popup_setoptions({id}, {options}) + none set options for popup window {id} +popup_settext({id}, {text}) none set the text of popup window {id} pow({x}, {y}) Float {x} to the power of {y} prevnonblank({lnum}) Number line nr of non-blank line <= {lnum} printf({fmt}, {expr1}...) String format text @@ -7035,6 +7053,10 @@ perleval({expr}) *perleval()* < [1, 2, 3, 4] {only available when compiled with the |+perl| feature} + +popup_ functions are documented here: |popup-functions|. + + pow({x}, {y}) *pow()* Return the power of {x} to the exponent {y} as a |Float|. {x} and {y} must evaluate to a |Float| or a |Number|.