def get_all_rects(self):
        """Return rects from this line.

        This includes the line rect plus the rects of each
        item of this list.

        Extends appcommon.classes.List2D.get_all_rects.
        """
        yield self.line_rect
        yield from super().get_all_rects()
Return rects from this line.

        This includes the line rect plus the rects of each
        item of this list.

        Extends appcommon.classes.List2D.get_all_rects.
        
nodezator/textman/editor/line.py