summaryrefslogtreecommitdiffstats
path: root/runtime/doc/gui.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-15 16:13:53 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-15 16:13:53 +0100
commit0eabd4dc8ff50658f0ea0e92c7918a42242f6b80 (patch)
tree42ea6e7acf72ad4fd46d6e3aad8e1f78f3867c79 /runtime/doc/gui.txt
parent5e4d1eba9579ea6b876ad699d77742e657505d35 (diff)
patch 8.2.0385: menu functionality insufficiently testedv8.2.0385
Problem: Menu functionality insufficiently tested. Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
Diffstat (limited to 'runtime/doc/gui.txt')
-rw-r--r--runtime/doc/gui.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index 1a38496040..41e20b1060 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -578,9 +578,11 @@ tooltips for menus. See |terminal-typing|.
Special characters in a menu name:
+ *menu-shortcut*
& The next character is the shortcut key. Make sure each
shortcut key is only used once in a (sub)menu. If you want to
insert a literal "&" in the menu name use "&&".
+ *menu-text*
<Tab> Separates the menu name from right-aligned text. This can be
used to show the equivalent typed command. The text "<Tab>"
can be used here for convenience. If you are using a real
@@ -954,7 +956,7 @@ item for the keyword under the cursor. The register "z" is used. >
mappings, or put these lines in your gvimrc; "<C-R>" is CTRL-R, "<CR>" is
the <CR> key. |<>|)
-
+ *tooltips* *menu-tips*
5.8 Tooltips & Menu tips
See section |42.4| in the user manual.