aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-07-21 09:34:51 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-07-21 09:34:51 -0400
commit5a50a7e55b870ae66a6bb69fcd3a7bd1841f3d9b (patch)
tree7b7d99c5a42cf7597d00815f941b8070439f32d7 /modules/textadept/run.lua
parent53de5fafa2344ae17a0457a34c7a6a866f1020d1 (diff)
downloadtextadept-5a50a7e55b870ae66a6bb69fcd3a7bd1841f3d9b.tar.gz
textadept-5a50a7e55b870ae66a6bb69fcd3a7bd1841f3d9b.zip
Lua code cleanup and API changes.
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