Textadept
- Home |
- Download |
- Lua API |
- Source |
- Language Modules |
- Stats |
- Wiki |
- Mailing List
Contents
_M.lua
The lua module.
It provides utilities for editing Lua code.
User tags are loaded from _USERHOME/modules/lua/tags
and user apis are
loaded from _USERHOME/modules/lua/api
.
Key Commands
Ctrl+L, M
(⌘L, M
on Mac OSX) Open this module for editing.Ctrl+L, G
(⌘L, G
) Goto file being ‘require’d on the current line.Shift+Return
(⇧↩
) Try to autocomplete anif
,for
, etc. statement withend
..
When to the right of a known symbol, show an autocompletion list of fields and functions.:
When to the right of a known symbol, show an autocompletion list of functions only.
Fields
sense
The Lua Adeptsense.
Functions
goto_required
()
Determines the Lua file being ‘require’d, searches through package.path for that file, and opens it in Textadept.
set_buffer_properties
()
Sets default buffer properties for Lua files.
try_to_autocomplete_end
()
Tries to autocomplete Lua’s ‘end’ keyword for control structures like ‘if’, ‘while’, ‘for’, etc.
See also:
Tables
_G.keys.lua
Container for Lua-specific key commands.
_G.snippets.lua
Container for Lua-specific snippets.
control_structure_patterns
Patterns for auto ‘end’ completion for control structures.
See also: