Adds a list of lines. The list can be indented with the optional argument 'indent'.
(self, txt, indent=0)
| 833 | self.text = [] |
| 834 | |
| 835 | def add_lines(self, txt, indent=0): |
| 836 | """Adds a list of lines. |
| 837 | |
| 838 | The list can be indented with the optional argument 'indent'. |
| 839 | """ |
| 840 | for line in txt: |
| 841 | self.add_line(line, indent) |
| 842 | |
| 843 | def add_line(self, txt, indent=0): |
| 844 | """Adds a line. |