aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-12-20 08:14:33 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-12-20 08:14:33 -0500
commit6aa238780bdb6c2f0258918c4b8eebf8d9cde608 (patch)
tree0e28fd65e6a49437c9cbaf58fe06fec0ccba62e2
parenta8514a1ef05a2b375092c0d79d16e8b6492c6c2a (diff)
downloadtextadept-6aa238780bdb6c2f0258918c4b8eebf8d9cde608.tar.gz
textadept-6aa238780bdb6c2f0258918c4b8eebf8d9cde608.zip
Wrap LuaDoc for C tables and functions in long comments.
-rw-r--r--core/gui.lua3
-rw-r--r--core/init.lua3
-rw-r--r--modules/textadept/command_entry.lua3
-rw-r--r--modules/textadept/find.lua3
4 files changed, 8 insertions, 4 deletions
diff --git a/core/gui.lua b/core/gui.lua
index fbf84d89..e8159b59 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -406,7 +406,7 @@ end)
connect(events.ERROR, function(...) gui._print(L('[Error Buffer]'), ...) end)
--- The functions below are Lua C functions.
+--[[ The functions below are Lua C functions.
---
-- Displays a gcocoadialog of a specified type with the given string arguments.
@@ -456,3 +456,4 @@ local goto_view
-- @class function
-- @name gtkmenu
local gtkmenu
+]]
diff --git a/core/init.lua b/core/init.lua
index cd1c9546..11a911d7 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -54,7 +54,7 @@ function user_dofile(filename)
return ok
end
--- The tables below were defined in C.
+--[[ The tables below were defined in C.
---
-- Command line parameters.
@@ -121,3 +121,4 @@ local reset
-- @class function
-- @name timeout
local timeout
+]]
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index 3eb3c6a5..465e7a02 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -92,10 +92,11 @@ events.connect(events.COMMAND_ENTRY_KEYPRESS, function(code)
end
end)
--- The function below is a Lua C function.
+--[[ The function below is a Lua C function.
---
-- Focuses the command entry.
-- @class function
-- @name focus
local focus
+]]
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index c9146e7a..b82d882a 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -397,7 +397,7 @@ events.connect(events.VIEW_NEW, function()
buffer:marker_set_back(MARK_FIND, MARK_FIND_COLOR)
end)
--- The functions below are Lua C functions.
+--[[ The functions below are Lua C functions.
---
-- Displays and focuses the find/replace dialog.
@@ -428,3 +428,4 @@ local replace
-- @class function
-- @name replace_all
local replace_all
+]]