void (@NotNull Collection<? extends FileEditor> fileEditors) { if (!LineMarkerSettings.getSettings().isEnabled(new RunLineMarkerProvider())) return; for (FileEditor fileEditor : fileEditors) { if (fileEditor instanceof TextEditor && fileEditor.isValid()) { Editor editor = ((TextEditor)fileEditor).getEditor(); Project project = editor.getProject(); VirtualFile file = fileEditor.getFile(); if (file != null && project != null && file.isValid()) { boolean hasRunMarkers = hasRunMarkers(editor, project); FileViewProvider vp = PsiManager.getInstance(project).findViewProvider(file); if (hasRunMarkers || (vp != null && weMayTrustRunGutterContributors(vp))) { RunLineMarkerProvider.markRunnable(file, hasRunMarkers); } } } } }