Fix mass-formatting when one file is open in the editor

Authored by zwabel on Nov 11 2011, 5:52 PM.