#71 Color of the folding margin.

open
nobody
pythonwin (20)
5
2009-03-28
2009-02-03
MizardX
No

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.

Discussion

  • Roger Upole

    Roger Upole - 2009-03-28

    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.

     
  • Roger Upole

    Roger Upole - 2009-03-28
    • labels: 518544 --> pythonwin
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks