avoid double DocumentImpl.assertWriteAccess

This commit is contained in:
peter
2013-11-28 15:15:28 +01:00
parent f22cec87e9
commit 1810858d40
@@ -556,7 +556,6 @@ public class DocumentImpl extends UserDataHolderBase implements DocumentEx {
@NotNull
private DocumentEvent beforeChangedUpdate(int offset, CharSequence oldString, CharSequence newString, boolean wholeTextReplaced) {
assertWriteAccess();
myChangeInProgress = true;
try {
return doBeforeChangedUpdate(offset, oldString, newString, wholeTextReplaced);