From f3589e54f24cac04665a90ed61a4bce1b0a142c0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 12 Jul 2020 21:23:54 -0400 Subject: 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. --- modules/textadept/keys.lua | 4 ++-- modules/textadept/menu.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/textadept') 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`. -- cgit v1.2.3