Fold and hidden line colours

9 views
Skip to first unread message

Neil Hodgson

unread,
Jul 31, 2021, 1:03:39 AMJul 31
to Scintilla mailing list, scite-i...@googlegroups.com
Two new elements SC_ELEMENT_FOLD_LINE and SC_ELEMENT_HIDDEN_LINE have been added to choose the colour for displaying fold and hidden lines.

Fold lines are an existing feature that draws lines in the text area to show where a section has been folded or to show that a fold is possible. They previously always used the default styles foreground colour and this is still used when SC_ELEMENT_FOLD_LINE is not set.

SciTE has a fold.line.colour property to set the SC_ELEMENT_FOLD_LINE.

SC_ELEMENT_HIDDEN_LINE is drawn at the bottom of the line before there are hidden lines but only if no fold line is drawn there. The purpose is to show where there are hidden lines from any cause such as a filtered view.

There is currently no property for this in SciTE but there may be a filtered view in the future.
https://sourceforge.net/p/scintilla/feature-requests/1249/
https://www.scintilla.org/FilterContext.png

Available from the repositories
hg clone http://hg.code.sf.net/p/scintilla/code scintilla
hg clone http://hg.code.sf.net/p/scintilla/scite

Neil
Reply all
Reply to author
Forward
0 new messages