aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-10-18 10:44:24 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-10-18 10:44:24 -0400
commit8f682b9de06785cd20b9fb6e18460a1e53fd1ca1 (patch)
treec63637ece7e2ae3d4452a4b4562a46f4bf2f7880
parentee19e174bb060bbe96565af91975ed3118bc894d (diff)
downloadtextadept-8f682b9de06785cd20b9fb6e18460a1e53fd1ca1.tar.gz
textadept-8f682b9de06785cd20b9fb6e18460a1e53fd1ca1.zip
Fix paragraph selection corner case; modules/textadept/editing.lua
-rw-r--r--modules/textadept/editing.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 5c86130c..56b9da66 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -416,6 +416,7 @@ end
-- Paragraphs are surrounded by one or more blank lines.
-- @name select_paragraph
function M.select_paragraph()
+ buffer:line_down()
buffer:para_up()
buffer:para_down_extend()
end