From 64cb1a3dad7f940970c74f2f98492565aeb9fc17 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 10 Nov 2017 20:34:28 -0500 Subject: Updated LuaDoc. --- modules/textadept/editing.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3