aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-03-20 00:05:17 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2015-03-20 00:05:17 -0400
commit4589c1e3851e294cec040c84d6dd72efd1375b1f (patch)
treeac3a1a745aed0fb45cde5b80e56cbaeacac38c6d /modules/textadept/editing.lua
parent313f5cd717aa27c1889a619a771a4e35fc0c06e9 (diff)
downloadtextadept-4589c1e3851e294cec040c84d6dd72efd1375b1f.tar.gz
textadept-4589c1e3851e294cec040c84d6dd72efd1375b1f.zip
Small documentation updates.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 3f3e266d..80ecb866 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -121,9 +121,9 @@ M.typeover_chars = {[41] = 1, [93] = 1, [125] = 1, [39] = 1, [34] = 1}
-- Names are typically lexer names and autocompletion functions typically
-- autocomplete symbols.
-- Autocompletion functions must return two values: the number of characters
--- behind the caret that are used as the prefix of the entity to autocomplete,
--- and a list of completions to show. Autocompletion lists are sorted
--- automatically.
+-- behind the caret that are used as the prefix of the entity to be
+-- autocompleted, and a list of completions to be shown. Autocompletion lists
+-- are sorted automatically.
-- @class table
-- @name autocompleters
-- @see autocomplete
@@ -469,7 +469,8 @@ events.connect(events.KEYPRESS, function(code)
end)
---
--- Highlights all occurrences of the selected text or the current word.
+-- Highlights all occurrences of the selected text or all occurrences of the
+-- current word.
-- @see buffer.word_chars
-- @name highlight_word
function M.highlight_word()