code: def add(self, txt, indent=0):
          
          self.text.append(u'{0}{1}'.format(' '*indent, txt))
docs: Adds some text, no newline will be appended.
  
          The text can be indented with the optional argument 'indent'.