From 4589c1e3851e294cec040c84d6dd72efd1375b1f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 20 Mar 2015 00:05:17 -0400 Subject: Small documentation updates. --- modules/textadept/editing.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules') 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() -- cgit v1.2.3