From 016188fd8a30cfbaca3faa0daea9a47138dc5c4b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 6 Jun 2022 20:52:59 +0100 Subject: Update runtime files. --- runtime/doc/popup.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'runtime/doc/popup.txt') 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': > -- cgit v1.2.3