update open files modification tracker on opening file

This commit is contained in:
Maxim.Mossienko
2015-09-02 15:58:19 +02:00
parent 07af1f2b3c
commit 2c7df2ae1e
@@ -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];