Fold and hidden line colours

Skip to first unread message

Neil Hodgson

Jul 31, 2021, 1:03:39 AM7/31/21
to Scintilla mailing list,
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.

Available from the repositories
hg clone scintilla
hg clone

Reply all
Reply to author
0 new messages