aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-05-15 09:48:59 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-05-15 09:48:59 -0400
commit2e9b654850264d21bf7706ed96b18c3d317e83d1 (patch)
tree2bf53eba963ec3df3c73faf5b102327ffa3c6476
parentc31ed9cfcabc665bda0d3fcd4d570b659e85f5d2 (diff)
Updated old documentation.
-rw-r--r--core/.buffer.luadoc2
-rw-r--r--doc/04_WorkingWithFiles.md6
-rw-r--r--doc/11_Scripting.md4
3 files changed, 7 insertions, 5 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index 8db47fd4..aab6feb1 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -959,6 +959,8 @@
-- Indent wrapped lines the same as the first line.
-- * `_SCINTILLA.constants.SC_WRAP_INDENT_INDENT` (2)
-- Indent wrapped lines one more level than the first line.
+--
+-- The default value is `0`.
-- @field wrap_mode (number)
-- Long line wrap mode.
--
diff --git a/doc/04_WorkingWithFiles.md b/doc/04_WorkingWithFiles.md
index 0f8cfd11..373b7851 100644
--- a/doc/04_WorkingWithFiles.md
+++ b/doc/04_WorkingWithFiles.md
@@ -66,7 +66,7 @@ not notice any difference for working with files containing ASCII text since
UTF-8 is compatible with it. Textadept can also detect ISO-8859-1 and MacRoman,
the primary encodings used on Windows and Mac OSX respectively. Files with more
exotic encodings may not be detected properly, if at all. You can change the
-list of encodings Textadept tries to detect via [`io.try_encodings`][].
+list of encodings Textadept tries to detect via [`io.encodings`][].
It is recommended to use UTF-8 encoded files because UTF-8 is very well
supported by other text editors and operating systems. You can change file
@@ -74,7 +74,7 @@ encoding via the "Buffer -> Encoding" menu. Conversion is immediate, requiring
no separate steps. Textadept saves new files as UTF-8 by default, but does not
alter the encoding of existing files.
-[`io.try_encodings`]: api/io.html#try_encodings
+[`io.encodings`]: api/io.html#encodings
### Recent Files
@@ -104,7 +104,7 @@ curses) or from the "Tools -> Snapopen -> Current Directory" menu. Snapopen is
pretty limited from the menu, but more versatile in [scripts][]. `Ctrl+U` (`⌘U`
| `^U`) snaps open *~/.textadept/*.
-[scripts]: api/_M.textadept.snapopen.html
+[scripts]: api/io.html#snapopen
![Snapopen](images/snapopen.png)
diff --git a/doc/11_Scripting.md b/doc/11_Scripting.md
index facc1a55..537ca367 100644
--- a/doc/11_Scripting.md
+++ b/doc/11_Scripting.md
@@ -55,8 +55,8 @@ as vanilla Lua with the following exceptions:
Even though Textadept can be run with [LuaJIT][], LuaJIT is based on Lua 5.1 and
is not fully compatible with Lua 5.2. Therefore, modules and scripts should be
-written to be compatible with both versions. There is a compatibility layer in
-*core/compat.lua*. Please see it for more information.
+written to be compatible with both versions. For the most part, only Lua 5.2's
+`_ENV` is not supported by LuaJIT.
[LuaJIT]: http://luajit.org