@NotNull
  private static SimpleTextAttributes getAttributes(boolean isSelected,
                                                    Color fileBgColor,
                                                    Color selectionBg,
                                                    Color selectionFg,
                                                    @NotNull TextChunk chunk) {
    SimpleTextAttributes background = chunk.getSimpleAttributesIgnoreBackground();
    return isSelected
           ? new SimpleTextAttributes(selectionBg, selectionFg, null, background.getStyle())
           : deriveBgColor(background, fileBgColor);
  }
@NotNull
  private static SimpleTextAttributes getAttributes(boolean isSelected,
                                                    Color fileBgColor,
                                                    Color selectionBg,
                                                    Color selectionFg,
                                                    @NotNull TextChunk chunk)