when there is a lot to be reformatted, e.g. because it is a foreign source with a
totally different style, reformat code is very slow when performed on the current editor source.
Reformatting the whole package with 30 files was quicker
than the one single file that was open in editor.
So maybe you should disable some listeners when reformatting source that is displayed in editor?!