#98 folding bug on linux and fix


In version 3.13 broken on linux
Me running wxpython 2.6
(Dont think it has anything to do with it same release
works fine in windoze)
If I add these lines In DrText.py Fixes it

self.SetProperty("fold", "1")
self.SetMarginType(2, wx.stc.STC_MARGIN_SYMBOL)
self.SetMarginMask(2, wx.stc.STC_MASK_FOLDERS)
self.SetMarginSensitive(2, True)
self.SetMarginWidth(2, 12)

Under the comment #Fold at approx line 500

Me not an stc guru not really sure why it fixes it
Don't really care ;)

I personally think it has something to do with wxpython
itself ?
Things under linux do not always work the same way
under windows.


  • Daniel Pozmanter

    Logged In: YES

    So this works on windows, and not on linux?
    Can you please upload a test file?
    I am very loathe to put in code that is a workaround for
    wxPython bugs (drpython is too full of them now), but I can
    be persuaded on this. I'd just like to know the extent of
    the bug first.
    Thanks for taking the time to investigate!

  • Franz Steinhaeusler

    • status: open --> closed

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks