boolean (int line, @NotNull Processor<? super LineExtensionInfo> processor) { for (IntFunction<? extends @NotNull Collection<? extends LineExtensionInfo>> painter : myLineExtensionPainters) { for (LineExtensionInfo extension : painter.apply(line)) { if (!processor.process(extension)) { return false; } } } if (myProject != null && myVirtualFile != null) { for (EditorLinePainter painter : EditorLinePainter.EP_NAME.getExtensionList()) { if (LightEdit.owns(myProject) && !(painter instanceof LightEditCompatible)) { continue; } Collection<LineExtensionInfo> extensions = painter.getLineExtensions(myProject, myVirtualFile, line); if (extensions != null) { for (LineExtensionInfo extension : extensions) { if (!processor.process(extension)) { return false; } } } } } return true; }