示例#1
0
 def wrap(self, text):
     return utils.word_wrap(text, self.tabwidth, self.limit)
示例#2
0
 def formatted_description(self):
     text = self.description.value()
     if not self._linebreak:
         return text
     return utils.word_wrap(text, self._tabwidth, self._textwidth)
示例#3
0
 def formatted_description(self):
     text = self.description.value()
     if not self._linebreak:
         return text
     return utils.word_wrap(text, self._tabwidth, self._textwidth)
示例#4
0
 def wrap(self, text):
     return utils.word_wrap(text, self.tabwidth, self.limit)