From a291022fbd9dbc749508917dfa10f40ad0323436 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 26 Feb 2020 11:17:28 -0500 Subject: Fixed some documentation. --- core/.buffer.luadoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/.buffer.luadoc') diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index a0e73409..080cfb13 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -595,7 +595,7 @@ -- Whether or not pressing [`buffer.rectangular_selection_modifier`]() when -- selecting text normally with the mouse turns on rectangular selection. -- The default value is `false`. --- @field modify (bool) +-- @field modify (bool, Read-only) -- Whether or not the buffer has unsaved changes. -- @field move_extends_selection (bool) -- Whether or not regular caret movement alters the selected text. @@ -3138,8 +3138,8 @@ function text_range(buffer, start_pos, end_pos) end -- Converts the current 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. --- @usage buffer:set_encoding('ASCII') +-- iconv accepts. If `nil`, assumes a binary encoding. +-- @usage buffer:set_encoding('CP1252') function set_encoding(buffer, encoding) end --- -- cgit v1.2.3