void ( @NotNull JList<? extends SearchEverywhereItem> list, @NotNull SearchEverywhereItem value, int index, boolean selected, boolean hasFocus ) { TextChunk[] text = value.getPresentation().getText(); // line number / file info String fileString = value.getPresentation().getFileString(); String prevFileString = findPrevFile(list, index); SimpleTextAttributes attributes = Objects.equals(fileString, prevFileString) ? FindPopupPanel.UsageTableCellRenderer.REPEATED_FILE_ATTRIBUTES : FindPopupPanel.UsageTableCellRenderer.ORDINAL_ATTRIBUTES; append(fileString, attributes); if (text.length > 0) append(" " + text[0].getText(), FindPopupPanel.UsageTableCellRenderer.ORDINAL_ATTRIBUTES); setBorder(null); }