From 03f166897801c29e9357bce3214f02502eb7f252 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 21 Jul 2012 12:37:00 -0400 Subject: Converted some `buffer` "get" and "set" functions into properties. Also updated to Scintilla 3.2.1. --- modules/textadept/editing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/editing.lua') diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index c87bb9c7..c702d297 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -503,7 +503,7 @@ local NCURSES_MARK = _SCINTILLA.constants.SC_MARK_CHARACTER + string.byte(' ') local function set_highlight_properties() local buffer = buffer if NCURSES then buffer:marker_define(MARK_HIGHLIGHT, NCURSES_MARK) end - buffer:marker_set_back(MARK_HIGHLIGHT, M.MARK_HIGHLIGHT_BACK) + buffer.marker_back[MARK_HIGHLIGHT] = M.MARK_HIGHLIGHT_BACK buffer.indic_fore[INDIC_HIGHLIGHT] = M.INDIC_HIGHLIGHT_BACK buffer.indic_style[INDIC_HIGHLIGHT] = _SCINTILLA.constants.INDIC_ROUNDBOX buffer.indic_alpha[INDIC_HIGHLIGHT] = M.INDIC_HIGHLIGHT_ALPHA -- cgit v1.2.3