aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-03-10 00:26:23 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-03-10 00:26:23 -0500
commit8b8737ea7eab958fe5a9459f02471d6b6efa7021 (patch)
tree89014be4a0b9045fb07926b1fe5e303abf7f2a57 /modules/textadept/editing.lua
parent708ca4356f4ebdf0af16fed833f2510236bd6f97 (diff)
downloadtextadept-8b8737ea7eab958fe5a9459f02471d6b6efa7021.tar.gz
textadept-8b8737ea7eab958fe5a9459f02471d6b6efa7021.zip
Indicator for highlighted words works in ncurses.
This requires Scinterm hg changeset 40 (7e25b9a35fbd).
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua6
1 files changed, 3 insertions, 3 deletions
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
---