void (boolean selected, Color bgColor, boolean isProblemFile, @Nls String containerText) { SimpleTextAttributes locationAttrs = SimpleTextAttributes.GRAYED_ATTRIBUTES; if (isProblemFile) { SimpleTextAttributes wavedAttributes = SimpleTextAttributes.merge(getErrorAttributes(), locationAttrs); java.util.regex.Matcher matcher = CONTAINER_PATTERN.matcher(containerText); if (matcher.matches()) { String prefix = matcher.group(1); SpeedSearchUtil.appendColoredFragmentForMatcher(" " + ObjectUtils.notNull(prefix, ""), this, locationAttrs, myMatchers.locationMatcher, bgColor, selected); String strippedContainerText = matcher.group(2); SpeedSearchUtil.appendColoredFragmentForMatcher(ObjectUtils.notNull(strippedContainerText, ""), this, wavedAttributes, myMatchers.locationMatcher, bgColor, selected); String suffix = matcher.group(3); if (suffix != null) { SpeedSearchUtil.appendColoredFragmentForMatcher(suffix, this, locationAttrs, myMatchers.locationMatcher, bgColor, selected); } return; } locationAttrs = wavedAttributes; } SpeedSearchUtil.appendColoredFragmentForMatcher(" " + containerText, this, locationAttrs, myMatchers.locationMatcher, bgColor, selected); }