News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

"Fold all on file open" issue

Started by Leviti, February 17, 2023, 04:52:18 AM

Previous topic - Next topic

Leviti

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.

Miguel Gimenez

Which version are you using?. IIRC this was fixed more than a year ago.