By the way, there is the same problem with the internal folding markers. How can this be fixed? @komoto48g
I think this is the default behavior of the current version (Scintilla 3.7.2/wx 4.1.1).
>>> wx.stc.StyledTextCtrl.GetLibraryVersionInfo().VersionString 'Scintilla 3.7.2'
This could be changed in the future version, but if I added one more line, the end marker stops at “}”.
I guess then you have to wait for an update when they fix it. And be happy with the editor for now without code folding.