Author Topic: "Fold all on file open" issue  (Read 726 times)

Leviti

  • Guest
"Fold all on file open" issue
« on: February 17, 2023, 04:52:18 am »
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.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1494
Re: "Fold all on file open" issue
« Reply #1 on: February 17, 2023, 08:54:15 am »
Which version are you using?. IIRC this was fixed more than a year ago.