From 8e66381a040f695f4203b28bc3f1d6818d0da7a2 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 11 Jun 2010 18:51:16 -0400 Subject: Removed _G.textadept. Created new _SCINTILLA core module. Renamed textadept.constants to _SCINTILLA.constants Renamed textadept.buffer_functions to _SCINTILLA.functions Renamed textadept.buffer_properties to _SCINTILLA.properties Created new gui core module. Renamed textadept._print() to gui._print(). Renamed textadept.check_focused_buffer() to gui.check_focused_buffer(). Renamed textadept.clipboard_text to gui.clipboard_text. Renamed textadept.context_menu to gui.context_menu Renamed textadept.command_entry to gui.command_entry. Renamed textadept.dialog to gui.dialog. Renamed textadept.docstatusbar_text to gui.docstatusbar_text. Renamed textadept.find to gui.find. Renamed textadept.focused_doc_pointer to gui.focused_doc_pointer. Renamed textadept.get_split_table() to gui.get_split_table(). Renamed textadept.gtkmenu() to gui.gtkmenu(). Renamed textadept.goto_view() to gui.goto_view(). Renamed textadept.menubar to gui.menubar. Renamed textadept.print() to gui.print(). Renamed textadept.size to gui.size. Renamed textadept.statusbar_text to gui.statusbar_text. Renamed textadept.switch_buffer() to gui.switch_buffer(). Renamed textadept.title to gui.title. Renamed textadept.buffers to _G._BUFFERS. Renamed textadept.new_buffer() to _G.new_buffer(). Renamed textadept.quit() to _G.quit(). Renamed textadept.reset() to _G.reset(). Renamed textadept.views to _G._VIEWS. Renamed textadept.user_dofile() to _G.user_dofile(). Renamed textadept.iconv to string.iconv. Renamed textadept.session_file to _SESSIONFILE. Renamed appropriate C functions. --- doc/manual/7_LuaInterface.md | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'doc/manual/7_LuaInterface.md') diff --git a/doc/manual/7_LuaInterface.md b/doc/manual/7_LuaInterface.md index f99691e4..2b8c7693 100644 --- a/doc/manual/7_LuaInterface.md +++ b/doc/manual/7_LuaInterface.md @@ -8,26 +8,3 @@ but documentation for all of its modules and features as well. It is more up to date than a manual like this could ever be. [LuaDoc]: ../index.html - -## Global Variables - -The following global variables not mentioned in the LuaDoc are available in -Textadept's Lua state: - -* `_HOME`: Path to the directory containing Textadept. -* `_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/io.html -[textadept_reset]: ../modules/textadept.html#reset -- cgit v1.2.3