void (@NotNull Object value, boolean isSelected, int row) { String presentation = ((TypeInfo)value).name(); append(" "); if (isSelected) { FList<TextRange> textRanges = myMatcher.matchingFragments(presentation); if (textRanges != null) { SimpleTextAttributes attributes = new SimpleTextAttributes(getBackground(), getForeground(), null, SimpleTextAttributes.STYLE_SEARCH_MATCH); SpeedSearchUtil.appendColoredFragments(this, presentation, textRanges, SimpleTextAttributes.REGULAR_ATTRIBUTES, attributes); } } else { append(String.format("%s", presentation), SimpleTextAttributes.REGULAR_ATTRIBUTES); } }