From ff7f869ae0a02535dcc7f44a65dd3ea2fed87d01 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sun, 11 Oct 2020 22:43:59 -0400 Subject: Updated LuaDoc. --- core/.buffer.luadoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core/.buffer.luadoc') diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index be71940a..8253f22a 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -655,8 +655,8 @@ function convert_eols(buffer, mode) end function copy(buffer) end --- --- Copies the range of text between positions *start_pos* and *end_pos* to the --- clipboard. +-- Copies to the clipboard the range of text between positions *start_pos* and +-- *end_pos*. -- @param buffer A buffer. -- @param start_pos The start position of the range of text in *buffer* to copy. -- @param end_pos The end position of the range of text in *buffer* to copy. @@ -1789,6 +1789,7 @@ function reload(buffer) end --- -- Saves the buffer to its file. +-- If the buffer does not have a file, the user is prompted for one. -- Emits `FILE_BEFORE_SAVE` and `FILE_AFTER_SAVE` events. -- @param buffer A buffer. -- @name save @@ -1815,7 +1816,7 @@ function save_as(buffer, filename) end function close(buffer, force) end --- --- Converts the current buffer's contents to encoding *encoding*. +-- Converts the buffer's contents to encoding *encoding*. -- @param buffer A buffer. -- @param encoding The string encoding to set. Valid encodings are ones that GNU -- iconv accepts. If `nil`, assumes a binary encoding. -- cgit v1.2.3