User forums > General (but related to Code::Blocks)

Code Folding Bugs (Solved Again... and Again)

<< < (3/5) > >>

joubertdj:
 :? The problem that I am experiencing is that Scintilla does not "remember" what was where, and which one is a comment fold, and which one is a xml, html, or other fold...

EDIT: So I only unfold all... and fold them after the Style change...

EDIT: Should I write a a fixed proc for each foldable part (3 in total?)

killerbot:
well I think , sticking to the current bug you mentioned at the beginning of this post.
Some folding is on (eg preprocessor) and then you turn it off =--> then only that specific folding that was turned off should unfold all it's folded instances.

When you turn on a folding, nothing should happen automatically, it will just allow a new type of folding.

joubertdj:
Okay... so back to the whole API freeze thing... if I add then three procedures, one for each option within the folding options ... will that be okay?

killerbot:
on 1 method with parameter : enum values which could be combined by or-ing them ??

[edit] : give it a try and we will look at it ;-)
[edit] : keep in mind that you discovered a nasty bug, which can be work around by closing and opening the file again, but it might scare the users to see that their header has shrun to 1 line ...

joubertdj:
Sounds good, let met see what I can do with it...

[edit] : true... but how many times will you be changing the code folding settings anyway... ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version