aboutsummaryrefslogtreecommitdiff
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-02-26 11:17:28 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2020-02-26 11:17:28 -0500
commita291022fbd9dbc749508917dfa10f40ad0323436 (patch)
tree9f416f97c34af75663872cbe975ec874ebcf0ae6 /core/.buffer.luadoc
parent3fe371c20fbb9fd90a9c98d1d0616c87d862beed (diff)
downloadtextadept-a291022fbd9dbc749508917dfa10f40ad0323436.tar.gz
textadept-a291022fbd9dbc749508917dfa10f40ad0323436.zip
Fixed some documentation.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r--core/.buffer.luadoc6
1 files changed, 3 insertions, 3 deletions
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
---