Code::Blocks Forums

User forums => Help => Topic started by: Leviti on February 17, 2023, 04:52:18 am

Title: "Fold all on file open" issue
Post by: Leviti 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.
Title: Re: "Fold all on file open" issue
Post by: Miguel Gimenez on February 17, 2023, 08:54:15 am
Which version are you using?. IIRC this was fixed more than a year ago.