diff options
-rw-r--r-- | doc/manual/7_LuaInterface.md | 10 | ||||
-rw-r--r-- | src/textadept.c | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/manual/7_LuaInterface.md b/doc/manual/7_LuaInterface.md index f1e343d9..3756f615 100644 --- a/doc/manual/7_LuaInterface.md +++ b/doc/manual/7_LuaInterface.md @@ -14,14 +14,20 @@ date than a manual like this could ever be. The following global variables not mentioned in the LuaDoc are available in Textadept's Lua state: -* `arg`: Table containing the command line arguments passed to Textadept. * `_HOME`: Path to the directory containing Textadept. -* `WIN32`: If Textadept is running on Windows, this flag is `true`. +* `_LEXERPATH`: Paths to lexers, formatted like [`package.path`][package_path]. +* `_RELEASE`: The Textadept release version. +* `_THEME`: The [theme][theme] file to use. +* `_USERHOME`: Path to the user's `~/.textadept/`. * `MAC`: If Textadept is running on Mac OSX, this flag is `true`. * `_CHARSET`: The character set encoding of the filesystem. This is used in [File I/O][file_io]. * `RESETTING`: If [`textadept.reset()`][textadept_reset] has been called, this flag is `true` while the Lua state is being re-initialized. +* `WIN32`: If Textadept is running on Windows, this flag is `true`. +* `arg`: Table containing the command line arguments passed to Textadept. +[package_path]: http://www.lua.org/manual/5.1/manual.html#pdf-package.path +[theme]: 6_Startup.html [file_io]: ../modules/textadept.io.html [textadept_reset]: ../modules/textadept.html#reset diff --git a/src/textadept.c b/src/textadept.c index afa3b9c6..171e1730 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -101,8 +101,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, * The UI consists of: * - A menubar initially hidden and empty. It should be populated by script * and then shown. - * - A side pane. It contains a treeview for hierarchical data sets, such as - * a file structure for project management. * - A frame for Scintilla windows. * - A find text frame initially hidden. * - A command entry initially hidden. This entry accepts and runs Lua code |