aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-03-16 16:53:53 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-03-16 16:53:53 -0400
commitbdccda5d155578f6564bd7b13f1d1affd48b0671 (patch)
tree2f62fe3c2ce5c9d8cb7fe3125fd74360faedf248 /core/file_io.lua
parentc80a277bc7d220465ad46848b4dc805698e30895 (diff)
downloadtextadept-bdccda5d155578f6564bd7b13f1d1affd48b0671.tar.gz
textadept-bdccda5d155578f6564bd7b13f1d1affd48b0671.zip
Moved "Markdown:" comments into module LuaDoc comments.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index 8f067d68..41566664 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -3,9 +3,7 @@
--[[ This comment is for LuaDoc.
---
-- Extends Lua's io package to provide file input/output routines for Textadept.
-module('io')]]
-
--- Markdown:
+--
-- ## Working with UTF-8
--
-- If your filesystem does not use UTF-8 encoded filenames, conversions to and
@@ -44,6 +42,7 @@ module('io')]]
-- Called when a file is saved under a different filename.
-- Arguments:
-- * `filename`: The filename encoded in UTF-8.
+module('io')]]
-- Events.
local events, events_connect = events, events.connect
@@ -289,7 +288,7 @@ end
-- If any buffer is dirty, the user is prompted to continue. No buffers are
-- saved automatically. They must be saved manually.
-- @usage io.close_all()
--- @return true if user did not cancel.
+-- @return `true` if user did not cancel.
-- @name close_all
function io.close_all()
while #_BUFFERS > 1 do
@@ -345,6 +344,7 @@ end)
---
-- Prompts the user to open a recently opened file.
+-- @see recent_files
-- @name open_recent_file
function io.open_recent_file()
local i = gui.filteredlist(_L['Open'], _L['File'], io.recent_files, true)