void (DocumentEvent e) { myCommittingToOriginal = true; try { PostprocessReformattingAspect.getInstance(myProject) .disablePostprocessFormattingInside(() -> myEditChangesHandler.commitToOriginal(e)); PsiDocumentManager.getInstance(myProject).doPostponedOperationsAndUnblockDocument(myOrigDocument); } finally { myCommittingToOriginal = false; } }