diff options
author | 2009-03-04 14:37:26 -0500 | |
---|---|---|
committer | 2009-03-04 14:37:26 -0500 | |
commit | fadef8f38f960f2f6f28e9bf8a964ee2062aa745 (patch) | |
tree | 3ed1ad586d15b001bd139d29ddeb3f73bbbb97b9 /core/.textadept.lua | |
parent | af63f5893ff6c32dcdc5beb9cf9e0b8c690eeaff (diff) | |
download | textadept-fadef8f38f960f2f6f28e9bf8a964ee2062aa745.tar.gz textadept-fadef8f38f960f2f6f28e9bf8a964ee2062aa745.zip |
Added LuaDoc for textadept.iconv; core/.textadept.lua
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r-- | core/.textadept.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/.textadept.lua b/core/.textadept.lua index d46f6331..cd0a4553 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -73,6 +73,15 @@ function get_split_table() end function gtkmenu(menu_table) end --- +-- Converts a string from one character set to another using iconv(). +-- Valid character sets are ones GLib's g_convert() accepts, typically GNU +-- iconv's character sets. +-- @param text The text to convert. +-- @param to The character set to convert to. +-- @param from The character set to convert from. +function iconv(text, to, from) + +--- -- Resets the Lua state by reloading all init scripts. -- Language-specific modules for opened files are NOT reloaded. Re-opening the -- files that use them will reload those modules. |