diff options
author | 2013-12-12 12:09:32 -0500 | |
---|---|---|
committer | 2013-12-12 12:09:32 -0500 | |
commit | 1a2b4bfecce766e97dc16009997599a7846c64b6 (patch) | |
tree | 45c98f01adcf575f27df34808da0dd81bd2a4dcc /core/init.lua | |
parent | d982def4a48569dbe16ef1303ec208ecd24a1af9 (diff) | |
download | textadept-1a2b4bfecce766e97dc16009997599a7846c64b6.tar.gz textadept-1a2b4bfecce766e97dc16009997599a7846c64b6.zip |
More LuaDoc updates.
Diffstat (limited to 'core/init.lua')
-rw-r--r-- | core/init.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/init.lua b/core/init.lua index b7429940..4d03bb01 100644 --- a/core/init.lua +++ b/core/init.lua @@ -21,17 +21,17 @@ if jit then module, package.searchers, bit32 = nil, package.loaders, bit end --- -- Extends Lua's _G table to provide extra functions and fields for Textadept. -- @field _HOME (string) --- The path to Textadept's home, or installation directory. +-- The path to Textadept's home, or installation, directory. -- @field _RELEASE (string) -- The Textadept release version string. -- @field _USERHOME (string) -- The path to the user's *~/.textadept/* directory, where all preferences and -- user-data is stored. -- On Windows machines *~/* is the value of the "USERHOME" environment --- variable, typically *C:\Users\username\\* or --- *C:\Documents and Settings\username\\*. On Linux, BSD, and Mac OSX --- machines *~/* is the value of "$HOME", typically */home/username/* and --- */Users/username/* respectively. +-- variable (typically *C:\Users\username\\* or +-- *C:\Documents and Settings\username\\*). On Linux, BSD, and Mac OSX +-- machines *~/* is the value of "$HOME" (typically */home/username/* and +-- */Users/username/* respectively). -- @field _CHARSET (string) -- The filesystem's character encoding. -- This is used when [working with files](io.html). @@ -113,9 +113,9 @@ local quit local reset --- --- Calls function *f* with the given arguments after number *interval* seconds --- and then repeatedly while *f* returns `true`. A `nil` or `false` return value --- stops repetition. +-- Calls function *f* with the given arguments after *interval* seconds. +-- If *f* returns `true`, calls *f* repeatedly every *interval* seconds as long +-- as *f* returns `true`. A `nil` or `false` return value stops repetition. -- @param interval The interval in seconds to call *f* after. -- @param f The function to call. -- @param ... Additional arguments to pass to *f*. |