diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-06 20:52:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-06 20:52:59 +0100 |
commit | 016188fd8a30cfbaca3faa0daea9a47138dc5c4b (patch) | |
tree | 5c04e35f0054ca6c3d7276e76a0ef4a494e890e2 /runtime/doc/popup.txt | |
parent | 3760bfddc414e4d3e1c4203db8c22e293cf08d09 (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc/popup.txt')
-rw-r--r-- | runtime/doc/popup.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index dd478aefeb..03dd3a24c7 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -1,4 +1,4 @@ -*popup.txt* For Vim version 8.2. Last change: 2022 May 29 +*popup.txt* For Vim version 8.2. Last change: 2022 Jun 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -999,7 +999,7 @@ To make the four corners transparent: ============================================================================== 4. Examples *popup-examples* -These examplese use |Vim9| script. +These examples use |Vim9| script. TODO: more interesting examples @@ -1043,6 +1043,10 @@ Extend popup_filter_menu() with shortcut keys: > " No shortcut, pass to generic filter return popup_filter_menu(a:id, a:key) endfunc + + func MyMenuHandler(id, result) + echo $'Result: {a:result}' + endfunc < *popup_beval_example* Example for using a popup window for 'ballooneval': > |