So when I hide a block of code like this: http://i.imgur.com/xrvYAi6.png
Then close it and open it back up again, it "un-hides" the code: http://i.imgur.com/dMCCQAE.png
Now my question is if there is an option to stop this from happening or if it is a bug.
Thank you for any response.
It seems like this plugin can solve your problem:
I'm not sure if this behaviour of Sublime is a bug, but I can't find any relating option in Sublime's settings. It certainely would be nice to have this feature provided by default.
Ah thank you this worked