Ernest - 2011-08-04

Hmm....normally editing a block of code will cause the edited code to unfold (I think). However, when I tried formatting in FlashBuilder 4.5, I'm not seeing the code blocks unfold if spaces are added/removed. This makes me optimistic that many formatting changes might not expand the text.

However, I expect that any operations that make big changes to the file (reordering functions) or changes non-whitespace (adding/removing braces) will probably not play nicely with maintaining folding state.

What formatting options are you using?