additional assertion

This commit is contained in:
Alexey Kudravtsev
2011-12-16 13:18:14 +04:00
parent 5f185df3ba
commit a49995500a
@@ -776,6 +776,7 @@ public class DocumentImpl extends UserDataHolderBase implements DocumentEx {
@Override
public final void setInBulkUpdate(boolean value) {
ApplicationManager.getApplication().assertIsDispatchThread();
myDoingBulkUpdate = value;
myText.setDeferredChangeMode(value);
if (value) {