use of com.intellij.openapi.vcs.impl.FileStatusManagerImpl in project intellij-community by JetBrains.
the class EditorChangeAction method refreshFileStatus.
private void refreshFileStatus() {
VirtualFile f = getAffectedDocuments()[0].getFile();
if (f == null || f instanceof LightVirtualFile)
return;
for (Project each : ProjectManager.getInstance().getOpenProjects()) {
FileStatusManagerImpl statusManager = (FileStatusManagerImpl) FileStatusManager.getInstance(each);
statusManager.refreshFileStatusFromDocument(f, getDocument());
}
}
Aggregations