aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index e69f5441..450580c3 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -174,10 +174,11 @@ events_connect(RUN_OUTPUT, print_output)
M.error_detail = {}
---
--- When the user double-clicks an error message, go to the line in the file
--- the error occured at and display a calltip with the error message.
+-- Goes to the line in the file an error occured at and displays a calltip with
+-- the error message.
+-- This is typically called when the user double-clicks an error message,
-- @param pos The position of the caret.
--- @param line_num The line double-clicked.
+-- @param line_num The line the error occurs on.
-- @see error_detail
function goto_error(pos, line_num)
if buffer._type ~= _L['[Message Buffer]'] and