Author Topic: Fold all on file open toggling folding  (Read 2334 times)

brisingr123

  • Guest
Fold all on file open toggling folding
« on: August 31, 2016, 06:34:24 pm »
Hello everyone!

For the past few days, I've noticed something strange in CodeBlocks. If I have a project and I have "Save/Restore Project Layout" enabled along with "Fold all on file open", it leads to strange behaviour. If I have the entire file unfolded and I exit and start the project again, it works as expected and folds the code on file open. However, if it's folded and I restart the project, it leads to unfolding everything. I'm guessing it uses toggle folding instead of using the fold all command, but i'm not sure. I've seen this behaviour on CodeBlocks 13.12 on Windows, 16.01 on Windows and 16.01 on Mint. Can anyone confirm this, or tell me if I'm missing something?
This gets real annoying real quick, since I like my files folded on open.

I tried searching the sourceforge for this bug, and couldn't find any relevant result. And since I'm not sure if it's just me or everyone, I'm posting it here and not directly starting a ticked on sf.