aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-11-10 15:13:24 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-11-10 15:13:24 -0500
commit016a8056f01221faa5ccee3581e488bd98650401 (patch)
treec28b7ca024cd236347f948b004a7a376728fec71 /modules/textadept/editing.lua
parent4c01bce7d482d1f509f89e5b8304564007947a24 (diff)
downloadtextadept-016a8056f01221faa5ccee3581e488bd98650401.tar.gz
textadept-016a8056f01221faa5ccee3581e488bd98650401.zip
Updated LuaDoc.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 1c842adc..1c957adf 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -22,7 +22,7 @@ local M = {}
-- Typeover characters are defined in the [`typeover_chars`](#typeover_chars)
-- table.
-- @field AUTOINDENT (bool)
--- Match the previous line's indentation level when inserting a new line.
+-- Match the previous line's indentation level after inserting a new line.
-- The default value is `true`.
-- @field STRIP_TRAILING_SPACES (bool)
-- Strip trailing whitespace before saving files.
@@ -202,9 +202,9 @@ function M.match_brace(select)
end
---
--- Displays an autocompletion list, built from the set of string words *words*
--- and existing words in the buffer, for the word behind the caret, returning
--- `true` if completions were found.
+-- Displays an autocompletion list, built from the set of words in string
+-- *words* and existing words in the buffer, for the word behind the caret,
+-- returning `true` if completions were found.
-- @param words Optional list of words considered to be in the buffer,
-- even if they are not. Words may contain [registered images][].
--
@@ -305,7 +305,7 @@ function M.block_comment()
end
---
--- Moves the caret to the beginning of line number *line* or user-specified
+-- Moves the caret to the beginning of line number *line* or the user-specified
-- line, ensuring the line is visible.
-- @param line Optional line number to go to. If `nil`, the user is prompted for
-- one.
@@ -325,8 +325,8 @@ end
---
-- Transposes characters intelligently.
--- If the caret is at the end of a line, the two characters before the caret are
--- transposed. Otherwise, the characters to the left and right are.
+-- If the caret is at the end of a line, transposes the two characters before
+-- the caret. Otherwise, the characters to the left and right are.
-- @name transpose_chars
function M.transpose_chars()
if buffer.length == 0 then return end