Color of the folding margin.
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
It is currently impossible to change the color of the folding margin. The variables that need changing is 'selbar', and 'selbarlight' in the current instance of 'ViewStyle' (in Pythonwin/Scintilla/src/ViewStyle.cxx). Those two variables does not read their values from a defined style, nor is there any way to update them from python code.
According to the Scintilla docs, these can be changed using
SCI_SETFOLDMARGINCOLOUR and SCI_SETFOLDMARGINHICOLOUR.
Since this isn't an actual style, it's not going to fit in nicely
with the existing formats. However, we might be able to use the
font color for one, and the background color for the other.
They'd have to be handled specially in the reformatting code.