def text(self):
        """Get indent text as \t or string of spaces
        """
        if self.useTabs:
            return '\t'
        else:
            return ' ' * self.width
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])