private TextAttributes getFoldRegionAttributes(FoldRegion foldRegion) {
      TextAttributes selectionAttributes = isSelected(foldRegion) ? myEditor.getSelectionModel().getTextAttributes() : null;
      TextAttributes defaultAttributes = getDefaultAttributes();
      if (myEditor.isInFocusMode(foldRegion)) {
        return ObjectUtils.notNull(myEditor.getUserData(FocusModeModel.FOCUS_MODE_ATTRIBUTES), getDefaultAttributes());
      }
      TextAttributes foldAttributes = myEditor.getFoldingModel().getPlaceholderAttributes();
      if (foldAttributes != null) {
        foldAttributes = debugZombieFoldRegion(foldRegion, foldAttributes);
      }
      return mergeAttributes(mergeAttributes(selectionAttributes, foldAttributes), defaultAttributes);
    }
private TextAttributes getFoldRegionAttributes(FoldRegion foldRegion)