Put all the logic in Editor. Add an `all_buffers` method so the editor can format all of the buffers by itself.