List<Editor> (@NotNull Map<VirtualFile, EditorInfo> editorInfos) { return ContainerUtil.map(editorInfos.keySet(), newVFile -> { PsiFile file = myPsiManager.findFile(newVFile); if (myFile == null) myFile = file; Editor editor = createEditor(newVFile); if (myEditor == null) myEditor = editor; EditorInfo editorInfo = editorInfos.get(newVFile); if (editorInfo != null) { editorInfo.applyToEditor(editor); } return editor; }); }