aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/14_Appendix.md5
-rw-r--r--modules/textadept/editing.lua6
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md
index f335f246..30f1e56d 100644
--- a/doc/14_Appendix.md
+++ b/doc/14_Appendix.md
@@ -121,7 +121,10 @@ features in its editing component Scintilla:
* Extra ascent and decent for lines is not supported.
* Fold lines are not supported (`surface->LineTo()` is not supported).
* Indentation guides are not visible (pixmap surfaces are not supported).
-* Indicators are not displayed (they would be drawn over by text lines).
+* Indicators other than `INDIC_ROUNDBOX` and `INDIC_STRAIGHTBOX` are not drawn
+ (`surface->LineTo()` is not supported for drawing indicator shapes and pixmap
+ surfaces are not supported). Translucent drawing and rounded corners are not
+ supported either.
* Insert mode caret is not drawn properly (no way to detect it from within
`surface->FillRectangle()`).
* Margins are overwritten by long lines when scrolling to the right.
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
---