From 2052c77111051972d8171d27c8d4c501803e70d6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 24 Aug 2013 14:26:24 -0400 Subject: Include Scintilla constants in `buffer`s. --- modules/textadept/run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/run.lua') diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index 0e9913ed..7e0dc83b 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -244,7 +244,7 @@ events.connect(events.DOUBLE_CLICK, function(pos, line) if is_msg_buf(buffer) then M.goto_error(line) end end) -local CURSES_MARK = _SCINTILLA.constants.SC_MARK_CHARACTER + string.byte(' ') +local CURSES_MARK = buffer.SC_MARK_CHARACTER + string.byte(' ') -- Sets view properties for error markers. local function set_error_properties() if CURSES then buffer:marker_define(MARK_ERROR, CURSES_MARK) end -- cgit v1.2.3