aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/14_Appendix.md2
-rw-r--r--themes/term/view.lua15
2 files changed, 12 insertions, 5 deletions
diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md
index 6df864f9..41e0d640 100644
--- a/doc/14_Appendix.md
+++ b/doc/14_Appendix.md
@@ -290,6 +290,8 @@ features in its editing component Scintilla:
* Indentation guides are not visible (pixmap surfaces are not supported).
* Indicators are not displayed (they would be drawn over by text lines).
* Line carets are not supported.
+* Marker types other than `SC_MARK_CHARACTER` are not drawn (`surface->LineTo()`
+ is not supported).
* Mouse interactions are not supported.
* Multiple fonts and font sizes are not supported.
* Only 8 colors are supported: black (`0x000000`), red (`0xFF0000`), green
diff --git a/themes/term/view.lua b/themes/term/view.lua
index ad02d67a..b0ff90fd 100644
--- a/themes/term/view.lua
+++ b/themes/term/view.lua
@@ -78,11 +78,16 @@ buffer.annotation_visible = 2
--buffer.indentation_guides = 3
-- Fold Margin Markers.
---buffer:marker_define(c.SC_MARKNUM_FOLDERSUB, '_')
---buffer:marker_define(c.SC_MARKNUM_FOLDERTAIL, 'L')
---buffer:marker_define(c.SC_MARKNUM_FOLDEREND, '+')
---buffer:marker_define(c.SC_MARKNUM_FOLDEROPENMID, '+')
---buffer:marker_define(c.SC_MARKNUM_FOLDERMIDTAIL, 't')
+--buffer:marker_define(c.SC_MARKNUM_FOLDERSUB,
+-- c.SC_MARK_CHARACTER + string.byte('_'))
+--buffer:marker_define(c.SC_MARKNUM_FOLDERTAIL,
+-- c.SC_MARK_CHARACTER + string.byte('L'))
+--buffer:marker_define(c.SC_MARKNUM_FOLDEREND,
+-- c.SC_MARK_CHARACTER + string.byte('+'))
+--buffer:marker_define(c.SC_MARKNUM_FOLDEROPENMID,
+-- c.SC_MARK_CHARACTER + string.byte('+'))
+--buffer:marker_define(c.SC_MARKNUM_FOLDERMIDTAIL,
+-- c.SC_MARK_CHARACTER + string.byte('t'))
-- Autocompletion.
--buffer.auto_c_cancel_at_start = false