From 34e8a85baecb9ef822a3d482474216e1aa2fb881 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 17 Jun 2010 18:34:42 -0400 Subject: Added abbreviations for Lua commands from Jay Gould. --- core/.command_entry.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'core') 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 -- -- cgit v1.2.3