'Return the visible width of the text in line buffer up to position.'

def visible_line_width(self, position=Point):

    return (len(self[:position].quoted_text()) + (self[:position].line_buffer.count(' DCTB ') * 7))
