From 8b8737ea7eab958fe5a9459f02471d6b6efa7021 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 10 Mar 2013 00:26:23 -0500 Subject: Indicator for highlighted words works in ncurses. This requires Scinterm hg changeset 40 (7e25b9a35fbd). --- modules/textadept/editing.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index f9beab64..6a35539b 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -44,9 +44,9 @@ M.HIGHLIGHT_BRACES = true M.TYPEOVER_CHARS = true M.AUTOINDENT = true M.STRIP_WHITESPACE_ON_SAVE = true -M.MARK_HIGHLIGHT_BACK = buffer and buffer.caret_line_back or - (not NCURSES and 0xEEEEEE or 0xFFFF00) -M.INDIC_HIGHLIGHT_BACK = 0x4D99E6 +M.MARK_HIGHLIGHT_BACK = not NCURSES and (buffer and buffer.caret_line_back or + 0xEEEEEE) or 0x00FFFF +M.INDIC_HIGHLIGHT_BACK = not NCURSES and 0x4D99E6 or 0x00FFFF M.INDIC_HIGHLIGHT_ALPHA = 100 --- -- cgit v1.2.3