aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2017-11-10 20:34:28 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2017-11-10 20:34:28 -0500
commit64cb1a3dad7f940970c74f2f98492565aeb9fc17 (patch)
treeeeb514566db23dc66816e8a0bfe9373afe387e81
parent14d1c301791a77dc7afce20d4d68c3a34c414f21 (diff)
Updated LuaDoc.
-rw-r--r--modules/textadept/editing.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 111930c7..365a53cd 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -407,10 +407,12 @@ end
-- Selects the text between strings *left* and *right* that enclose the caret.
-- If that range is already selected, toggles between selecting *left* and
-- *right* as well.
--- If *left* and *right* are not provided, they are inferred from the current
+-- If *left* and *right* are not provided, they are assumed to be one of the
+-- delimiter pairs specified in `auto_pairs` and are inferred from the current
-- position or selection.
-- @param left Optional left part of the enclosure.
-- @param right Optional right part of the enclosure.
+-- @see auto_pairs
-- @name select_enclosed
function M.select_enclosed(left, right)
local s, e, anchor, pos = -1, -1, buffer.anchor, buffer.current_pos