aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-04-24 11:23:02 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-04-24 11:23:02 -0400
commit49f5b5d500b19fe3ebeb14d1a4cdcda61f0eab59 (patch)
treea350c207bae16a89a56604a1368afbadf6846c6f /core/gui.lua
parent36854c6ca8970714a6c672ca8774da4c5e9bd69e (diff)
downloadtextadept-49f5b5d500b19fe3ebeb14d1a4cdcda61f0eab59.tar.gz
textadept-49f5b5d500b19fe3ebeb14d1a4cdcda61f0eab59.zip
Mark recognized errors in compile/run output and added navigation functions.
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/gui.lua b/core/gui.lua
index a69ccbd6..3687aae0 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -54,7 +54,6 @@ end
-- displayed before being printed to.
-- @param buffer_type String type of message buffer.
-- @param ... Message strings.
--- @usage gui._print(_L['[Error Buffer]'], error_message)
-- @usage gui._print(_L['[Message Buffer]'], message)
-- @name _print
function gui._print(buffer_type, ...) pcall(_print, buffer_type, ...) end
@@ -438,8 +437,7 @@ events_connect(events.QUIT, function()
'--no-newline') == '2'
end)
-events_connect(events.ERROR,
- function(...) gui._print(_L['[Error Buffer]'], ...) end)
+events_connect(events.ERROR, gui.print)
--[[ The tables below were defined in C.