'Draw a line on top of a define cell'

def _draw_editor_cell_divider(self):

    if self.supported_cell_language:
        cell_line_color = self.comment_color
        painter = QPainter(self.viewport())
        pen = painter.pen()
        pen.setStyle(Qt.SolidLine)
        pen.setBrush(cell_line_color)
        painter.setPen(pen)
        for (top, line_number, block) in self.visible_blocks:
            if self.is_cell_separator(block):
                painter.drawLine(4, top, self.width(), top)
