diff options
author | 2010-06-17 18:34:42 -0400 | |
---|---|---|
committer | 2010-06-17 18:34:42 -0400 | |
commit | 34e8a85baecb9ef822a3d482474216e1aa2fb881 (patch) | |
tree | 0ab94200f53a434616e50190e66239d8dda18564 /core | |
parent | af284ee664ab3da7ce6324a46d4d9a59ef1e2362 (diff) | |
download | textadept-34e8a85baecb9ef822a3d482474216e1aa2fb881.tar.gz textadept-34e8a85baecb9ef822a3d482474216e1aa2fb881.zip |
Added abbreviations for Lua commands from Jay Gould.
Diffstat (limited to 'core')
-rw-r--r-- | core/.command_entry.lua | 8 |
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 -- |