EA-36837 doPostponedOperationsAndUnblockDocument

This commit is contained in:
peter
2012-06-25 20:59:35 +02:00
parent e6668c8eaf
commit 6699ca8255
@@ -73,6 +73,8 @@ public class AfterNewClassInsertHandler implements InsertHandler<LookupItem<PsiC
AutoPopupController.getInstance(context.getProject()).autoPopupParameterInfo(context.getEditor(), null);
}
PsiDocumentManager.getInstance(context.getProject()).doPostponedOperationsAndUnblockDocument(context.getDocument());
if (psiClass.hasModifierProperty(PsiModifier.ABSTRACT)) {
final Editor editor = context.getEditor();
final int offset = context.getTailOffset();