private @Nullable TextAttributes getCaretRowAttributes(boolean isInCaretRow) {
    if (myEditor instanceof EditorImpl editor && editor.isStickyLinePainting()) {
      // suppress a caret row background on the sticky lines panel
      return null;
    }
    return isInCaretRow ? myCaretRowAttributes : null;
  }
private @Nullable TextAttributes getCaretRowAttributes(boolean isInCaretRow)