Home | History | Annotate | Download | only in Lib

Lines Matching refs:cur_line

202     def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width):

204 cur_line : [string],
220 cur_line.append(reversed_chunks[-1][:space_left])
226 elif not cur_line:
227 cur_line.append(reversed_chunks.pop())
259 # cur_len is just the length of all the chunks in cur_line.
260 cur_line = []
282 cur_line.append(chunks.pop())
292 self._handle_long_word(chunks, cur_line, cur_len, width)
295 if self.drop_whitespace and cur_line and cur_line[-1].strip() == '':
296 del cur_line[-1]
300 if cur_line:
301 lines.append(indent + ''.join(cur_line))