aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-02-22 16:56:56 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-02-22 16:56:56 -0500
commit829bdd155af955adad629e5b5948c2b62c01ebf8 (patch)
treee85b74e81740a1bce28df9fef594cc48487aa3d2 /core
parent331ff818c4e9c4d95a0be45ebf5b61aaf11670e7 (diff)
downloadtextadept-829bdd155af955adad629e5b5948c2b62c01ebf8.tar.gz
textadept-829bdd155af955adad629e5b5948c2b62c01ebf8.zip
Fixed LuaDoc errors.
Diffstat (limited to 'core')
-rw-r--r--core/.buffer.luadoc6
-rw-r--r--core/gui.lua6
2 files changed, 6 insertions, 6 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index 27f8f27f..720feeda 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -2561,9 +2561,9 @@ function buffer.check_global(buffer) end
---
-- Deletes the current buffer.
--- WARNING: this function should NOT be called via scripts. `_G.io` provides a
--- `close()` function for buffers to prompt for confirmation if necessary; this
--- function does not. Genrates a `BUFFER_DELETED` event.
+-- WARNING: this function should NOT be called via scripts. Use `buffer:close()`
+-- instead, which prompts for confirmation if necessary. Generates a
+-- `BUFFER_DELETED` event.
-- @param buffer The global buffer.
function buffer.delete(buffer) end
diff --git a/core/gui.lua b/core/gui.lua
index f8952b60..3ca8902e 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -442,9 +442,9 @@ local dialog
-- Gets the current split view structure.
-- @return table of split views. Each split view entry is a table with 4
-- fields: `1`, `2`, `vertical`, and `size`. `1` and `2` have values of either
--- split view entries or the index of the buffer shown in each view;
--- `vertical` is a flag indicating if the split is vertical or not; and
--- `size` is the integer position of the split resizer.
+-- nested split view entries or the views themselves; `vertical` is a flag
+-- indicating if the split is vertical or not; and `size` is the integer
+-- position of the split resizer.
-- @class function
-- @name get_split_table
local get_split_table