aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-07-12 21:23:54 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-07-12 21:23:54 -0400
commitf3589e54f24cac04665a90ed61a4bce1b0a142c0 (patch)
treef84d9734e922a8e809b3d825bb47c9cd80ba0bd8 /modules/textadept/menu.lua
parent1d7b8a6e4e20d7140d1fd93ceb06aa04a51d47a0 (diff)
downloadtextadept-f3589e54f24cac04665a90ed61a4bce1b0a142c0.tar.gz
textadept-f3589e54f24cac04665a90ed61a4bce1b0a142c0.zip
Be more consistent with "key sequences", "key commands", and "key bindings".
Sequences are key strings, commands are Lua functions, and bindings are commands assigned to sequences.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 4702ecbc..c61c8e81 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -414,7 +414,7 @@ local function get_gdk_key(key_seq)
end
-- Creates a menu suitable for `ui.menu()` from the menu table format.
--- Also assigns key commands.
+-- Also assigns key bindings.
-- @param menu The menu to create a GTK menu from.
-- @param contextmenu Flag indicating whether or not the menu is a context menu.
-- If so, menu_id offset is 1000. The default value is `false`.