mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update open files modification tracker on opening file
This commit is contained in:
+1
@@ -863,6 +863,7 @@ public class FileEditorManagerImpl extends FileEditorManagerEx implements Projec
|
||||
if (newEditor) {
|
||||
clearWindowIfNeeded(window);
|
||||
|
||||
ourOpenFilesSetModificationCount.incrementAndGet();
|
||||
getProject().getMessageBus().syncPublisher(FileEditorManagerListener.Before.FILE_EDITOR_MANAGER).beforeFileOpened(FileEditorManagerImpl.this, file);
|
||||
|
||||
FileEditor[] newEditors = new FileEditor[newProviders.length];
|
||||
|
||||
Reference in New Issue
Block a user