aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-07-21 12:37:00 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-07-21 12:37:00 -0400
commit03f166897801c29e9357bce3214f02502eb7f252 (patch)
tree4066fae87259848d7d488bd39871964f6fd510fa /modules/lua/init.lua
parent5a50a7e55b870ae66a6bb69fcd3a7bd1841f3d9b (diff)
downloadtextadept-03f166897801c29e9357bce3214f02502eb7f252.tar.gz
textadept-03f166897801c29e9357bce3214f02502eb7f252.zip
Converted some `buffer` "get" and "set" functions into properties.
Also updated to Scintilla 3.2.1.
Diffstat (limited to 'modules/lua/init.lua')
-rw-r--r--modules/lua/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/init.lua b/modules/lua/init.lua
index 54027c23..32dd5742 100644
--- a/modules/lua/init.lua
+++ b/modules/lua/init.lua
@@ -139,7 +139,7 @@ events.connect(events.FILE_AFTER_SAVE, function()
if f then return end
local line, msg = err:match('^.-:(%d+):%s*(.+)$')
if line then
- buffer:annotation_set_text(line - 1, msg)
+ buffer.annotation_text[line - 1] = msg
buffer.annotation_style[line - 1] = 8 -- error style number
buffer:goto_line(line - 1)
end