diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-04-30 21:34:21 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-04-30 21:34:21 -0400 |
commit | 8d3a7753d519dbb0511ccf47e342f2b82a724357 (patch) | |
tree | 06d6ca9135660181dbee1eb66f1d49114e469659 /modules/lua/api | |
parent | f21477272c7326e5d5e6614ec64f83a2174db636 (diff) |
Updated documentation.
Diffstat (limited to 'modules/lua/api')
-rw-r--r-- | modules/lua/api | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/api b/modules/lua/api index 6e619d57..091c4553 100644 --- a/modules/lua/api +++ b/modules/lua/api @@ -570,7 +570,7 @@ del_line_right buffer.del_line_right(buffer)\nDeletes the range of text from the del_word_left buffer.del_word_left(buffer)\nDeletes the word to the left of the caret, including any leading non-word\ncharacters.\n`buffer.word_chars` contains word characters.\n@param buffer A buffer. del_word_right buffer.del_word_right(buffer)\nDeletes the word to the right of the caret, including any trailing non-word\ncharacters.\n`buffer.word_chars` contains word characters.\n@param buffer A buffer. del_word_right_end buffer.del_word_right_end(buffer)\nDeletes the word to the right of the caret, excluding any trailing non-word\ncharacters.\n`buffer.word_chars` contains word characters.\n@param buffer A buffer. -delete buffer.delete(buffer)\nDeletes the buffer.\n**Do not call this function.** Call `buffer:close()` instead. Emits a\n`BUFFER_DELETED` event.\n@param buffer A buffer.\n@see events.BUFFER_DELETED +delete buffer.delete(buffer)\nDeletes the buffer.\n**Do not call this function.** Call `io.close_buffer()` instead. Emits a\n`BUFFER_DELETED` event.\n@param buffer A buffer.\n@see events.BUFFER_DELETED delete_back buffer.delete_back(buffer)\nDeletes the character behind the caret if no text is selected.\nOtherwise, deletes the selected text.\n@param buffer A buffer. delete_back_not_line buffer.delete_back_not_line(buffer)\nDeletes the character behind the caret unless either the caret is at the\nbeginning of a line or text is selected.\nIf text is selected, deletes it.\n@param buffer A buffer. delete_range buffer.delete_range(buffer, pos, length)\nDeletes the range of text from position *pos* to *pos* + *length*.\n@param buffer A buffer.\n@param pos The start position of the range of text in *buffer* to delete.\n@param length The number of characters in the range of text to delete. |