diff options
author | 2011-09-25 22:37:24 -0400 | |
---|---|---|
committer | 2011-09-25 22:37:24 -0400 | |
commit | f10a48801dd09bb6cb058b4f783f879720d22bf0 (patch) | |
tree | 8b22a252a4b6f60cc7cb8acf862d5c770be8a28a /core/._G.luadoc | |
parent | 8461d29251895160755695b74ca6356a9cd8e6f3 (diff) | |
download | textadept-f10a48801dd09bb6cb058b4f783f879720d22bf0.tar.gz textadept-f10a48801dd09bb6cb058b4f783f879720d22bf0.zip |
Refactored textadept.c and changed Lua interface a bit.
'_BUFFERS' and '_VIEWS' now also have buffer and view keys with index values;
'buffer.doc_pointer', 'view.doc_pointer', and 'gui.focused_doc_pointer' are no
longer used; 'buffer:check_global()' replaces 'gui.check_focused_buffer()';
Added 'view.buffer' field; 'view:goto_buffer()' and 'gui.goto_view()' arguments
changed to make more sense.
Diffstat (limited to 'core/._G.luadoc')
-rw-r--r-- | core/._G.luadoc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/core/._G.luadoc b/core/._G.luadoc index 1cf55e23..e2d8401c 100644 --- a/core/._G.luadoc +++ b/core/._G.luadoc @@ -31,15 +31,23 @@ arg = {} --- --- A numerically indexed table of open buffers in Textadept. +-- Table of all open buffers in Textadept. +-- Numeric keys have buffer values and buffer keys have their associated numeric +-- keys. -- @class table -- @name _BUFFERS +-- @usage _BUFFERS[1] contains the first buffer. +-- @usage _BUFFERS[_BUFFERS[1]] evaluates to 1, the index of the first buffer. _BUFFERS = {} --- --- A numerically indexed table of views in Textadept. +-- Table of all views in Textadept. +-- Numeric keys have view values and view keys have their associated numeric +-- keys. -- @class table -- @name _VIEWS +-- @usage _VIEWS[1] contains the first view. +-- @usage _VIEWS[_VIEWS[1]] evaluates to 1, the index of the first view. _VIEWS = {} --- |