void (@NotNull JList<? extends SearchEverywhereItem> list, SearchEverywhereItem value, int index, boolean selected, boolean hasFocus) { TextChunk[] text = value.getPresentation().getText(); // skip line number / file info for (int i = 1; i < text.length; ++i) { TextChunk textChunk = text[i]; myUsageRenderer.append(textChunk.getText(), getAttributes(textChunk, selected)); } myUsageRenderer.setIcon(AllIcons.Nodes.TextArea); //noinspection UseDPIAwareInsets myUsageRenderer.setIpad(new Insets(0, 0, 0, getIpad().right)); setBorder(null); }