mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not invoke for lightweight documents created for default project
GitOrigin-RevId: 21fe410a9312bd0794d601902e8cef13a80a4c25
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b61ea48610
commit
b97057a2de
@@ -139,7 +139,8 @@ public final class XmlTagNameSynchronizer implements CommandListener, EditorFact
|
||||
if (!WebEditorOptions.getInstance().isSyncTagEditing()) return;
|
||||
|
||||
final Document document = event.getDocument();
|
||||
if (myApplying || UndoManager.getInstance(Objects.requireNonNull(myEditor.getProject())).isUndoInProgress() ||
|
||||
Project project = Objects.requireNonNull(myEditor.getProject());
|
||||
if (myApplying || project.isDefault() || UndoManager.getInstance(project).isUndoInProgress() ||
|
||||
!PomModelImpl.isAllowPsiModification() || document.isInBulkUpdate()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user