From 1a2b4bfecce766e97dc16009997599a7846c64b6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 12 Dec 2013 12:09:32 -0500 Subject: More LuaDoc updates. --- core/init.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'core/init.lua') 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*. -- cgit v1.2.3