Home | History | Annotate | Download | only in Lib

Lines Matching refs:cur_line

210     def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width):
212 cur_line : [string],
228 cur_line.append(reversed_chunks[-1][:space_left])
234 elif not cur_line:
235 cur_line.append(reversed_chunks.pop())
267 # cur_len is just the length of all the chunks in cur_line.
268 cur_line = []
290 cur_line.append(chunks.pop())
300 self._handle_long_word(chunks, cur_line, cur_len, width)
303 if self.drop_whitespace and cur_line and cur_line[-1].strip() == '':
304 del cur_line[-1]
308 if cur_line:
309 lines.append(indent + ''.join(cur_line))