diff options
-rw-r--r-- | core/.buffer.luadoc | 6 | ||||
-rw-r--r-- | modules/textadept/editing.lua | 9 |
2 files changed, 8 insertions, 7 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index bf9ecf75..ed4e3a91 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -407,7 +407,7 @@ -- pixel on either side. Similar in appearance to the non-target ranges in -- Asian language input composition. -- * `buffer.INDIC_FULLBOX` --- Similar to `INDIC_STRAIGHTBOX` but extends to the top of its line, +-- Similar to `INDIC_STRAIGHTBOX` but extends to the top of its line, -- potentially touching any similar indicators on the line above. -- * `buffer.INDIC_TEXTFORE` -- Changes the color of text to an indicator's foreground color. @@ -1819,7 +1819,7 @@ function get_text(buffer) end --- -- Moves the caret to the beginning of line number *line* and scrolls it into --- view. +-- view, regardless of whether *line* is hidden or not. -- @param buffer A buffer. -- @param line The line number in *buffer* to go to. function goto_line(buffer, line) end @@ -2591,7 +2591,7 @@ function set_selection(buffer, end_pos, start_pos) end function set_styling(buffer, length, style) end --- --- Defines the target range's beginning and end positions as *start_pos* and +-- Defines the target range's beginning and end positions as *start_pos* and -- *end_pos*, respectively. -- @param buffer A buffer. -- @param start_pos The position of the beginning of the target range. 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() |