@staticmethod
    def _getColWidth(colIdx, textLines):
        w = max(textln.myTextWidths[colIdx] for textln in textLines)

        isLast = (colIdx == TextLineItem.NUM_COLUMNS - 1)
        if not isLast:
            w += TextLineItem.COLUMN_SPACING

        return w
dataset/ETHPy150Open sapir/sonare/sonare/textview.py/TextLineItem._getColWidth/original