aboutsummaryrefslogtreecommitdiff
path: root/modules
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
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')
-rw-r--r--modules/textadept/keys.lua4
-rw-r--r--modules/textadept/menu.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 70b5ca19..938cb0af 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -4,8 +4,8 @@ local M = {}
--[[ This comment is for LuaDoc.
---
--- Defines key commands for Textadept.
--- This set of key commands is pretty standard among other text editors, at
+-- Defines key bindings for Textadept.
+-- This set of key bindings is pretty standard among other text editors, at
-- least for basic editing commands and movements.
--
-- ## Key Bindings
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`.