mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
avoid double DocumentImpl.assertWriteAccess
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user