diff options
author | 2014-06-30 13:06:25 -0400 | |
---|---|---|
committer | 2014-06-30 13:06:25 -0400 | |
commit | 03b0b8932ea1c41854a487f9fa6555def9b59462 (patch) | |
tree | 491743468203ee0b49729d323a1f224aaf4ef669 /modules/textadept/command_entry.lua | |
parent | b8a5a15f6171cbedc9007e5b05757aa4b72ff742 (diff) | |
download | textadept-03b0b8932ea1c41854a487f9fa6555def9b59462.tar.gz textadept-03b0b8932ea1c41854a487f9fa6555def9b59462.zip |
Condensed manual and API documentation into single files.
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r-- | modules/textadept/command_entry.lua | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index 6d495199..b75405ca 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -9,11 +9,11 @@ local M = ui.command_entry -- -- ## Modes -- --- The command entry supports multiple [modes][] that have their own sets of key --- bindings stored in a separate table in `_G.keys` under a mode prefix key. --- Mode names are arbitrary, but cannot conflict with lexer names or key --- sequence strings (e.g. `'lua'` or `'send'`) due to the method Textadept uses --- for looking up key bindings. An example mode is "lua_command" mode for +-- The command entry supports multiple [modes](#keys.Modes) that have their own +-- sets of key bindings stored in a separate table in `_G.keys` under a mode +-- prefix key. Mode names are arbitrary, but cannot conflict with lexer names or +-- key sequence strings (e.g. `'lua'` or `'send'`) due to the method Textadept +-- uses for looking up key bindings. An example mode is "lua_command" mode for -- executing Lua commands: -- -- local function complete_lua() ... end @@ -30,8 +30,6 @@ local M = ui.command_entry -- `Tab` shows a list of Lua completions for the entry text and `Enter` exits -- "lua_command" key mode and executes the entered code. The command entry -- handles all other keys normally. --- --- [modes]: keys.html#Modes -- @field entry_text (string) -- The text in the command entry. module('ui.command_entry')]] |