Ernest - 2011-05-19

Formatting should already work this way. There are some difficulties occasionally with not being able to properly match the original lines with the formatted lines, but for the most part it should work (to line granularity). There are also certain things that only apply when the entire file is formatted (notably adding/removing braces)

However, all of the rearranging stuff only works on the full file. That code is very tricky and I decided that was a reasonable limitation. How often have you found yourself wanting this capability?