aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/find.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-16 11:43:28 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-16 11:43:28 -0400
commita79590f80c11d9b1aa363d9fd3f96d86bcde74f1 (patch)
tree4b7979f00739a160b194f94da305151a5f3bb6d1 /modules/textadept/find.lua
parent2b99026b05f3c0d1d2eef0892e91cee72f968f5f (diff)
downloadtextadept-a79590f80c11d9b1aa363d9fd3f96d86bcde74f1.tar.gz
textadept-a79590f80c11d9b1aa363d9fd3f96d86bcde74f1.zip
Small documentation update.
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r--modules/textadept/find.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index 614dc4e6..bea17dd2 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -402,7 +402,8 @@ function M.goto_file_found(line_num, next)
if not ff_view and not ff_buf then return end
if ff_view then ui.goto_view(ff_view) else view:goto_buffer(ff_buf) end
- -- If no line was given, find the next search result, wrapping as necessary.
+ -- If no line number was given, find the next search result, wrapping as
+ -- necessary.
if not assert_type(line_num, 'number/nil', 1) and next ~= nil then
if next then buffer:line_end() else buffer:home() end
buffer:search_anchor()