aboutsummaryrefslogtreecommitdiff
path: root/core/.command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-06-17 18:34:42 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-06-17 18:34:42 -0400
commit34e8a85baecb9ef822a3d482474216e1aa2fb881 (patch)
tree0ab94200f53a434616e50190e66239d8dda18564 /core/.command_entry.lua
parentaf284ee664ab3da7ce6324a46d4d9a59ef1e2362 (diff)
downloadtextadept-34e8a85baecb9ef822a3d482474216e1aa2fb881.tar.gz
textadept-34e8a85baecb9ef822a3d482474216e1aa2fb881.zip
Added abbreviations for Lua commands from Jay Gould.
Diffstat (limited to 'core/.command_entry.lua')
-rw-r--r--core/.command_entry.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/.command_entry.lua b/core/.command_entry.lua
index 89e59809..93615f22 100644
--- a/core/.command_entry.lua
+++ b/core/.command_entry.lua
@@ -22,9 +22,11 @@ module('gui.command_entry')
-- `Tab` key to display a list of available completions. Use the arrow keys to
-- make a selection and press `Enter` to insert it.
--
--- Note: Use [`gui.print()`][gui_print] instead of the global `print()`
--- function. The former prints to a new buffer, the latter to standard out
--- (`STDOUT`).
+-- Abbreviated commands for the `buffer`, `view` and `gui` are available. So
+-- `buffer:append_text('textadept')` can be shortened to
+-- `append_text('textadept')`. Please note `print()` calls
+-- [`gui.print()`][gui_print] and not Lua's `print()`. The latter can be
+-- accessed with `_G.print()`.
--
-- [gui_print]: ../modules/gui.html#print
--