Your comments

I would really like this feature as well.
It's a pretty basic feature for most code editors - though with that said, most editors have a terrible 'folder' in that it does not fold certain functions accurately.
I am working in Lua (Corona SDK) and it would be very beneficial to have the option to fold my functions and conditional statements.

Please update Textastic to include this feature.