Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#98 folding bug on linux and fix

closed
nobody
None
5
2007-04-16
2005-08-28
nopa90
No

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

#Folding:
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.

Discussion

  • Logged In: YES
    user_id=796750

    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!

     
    • status: open --> closed