mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
unlock document before proceed (e.g. locked by override/implement dialog)
This commit is contained in:
@@ -306,6 +306,7 @@ public abstract class UpdatePsiFileCopyright extends AbstractUpdateCopyright {
|
||||
app.runWriteAction(new Runnable() {
|
||||
public void run() {
|
||||
Document doc = FileDocumentManager.getInstance().getDocument(getRoot());
|
||||
PsiDocumentManager.getInstance(file.getProject()).doPostponedOperationsAndUnblockDocument(doc);
|
||||
for (CommentAction action : actions) {
|
||||
int start = action.getStart();
|
||||
int end = action.getEnd();
|
||||
|
||||
Reference in New Issue
Block a user