Ticket #3714: text-wrap.patch
File text-wrap.patch, 452 bytes (added by , 18 years ago) |
---|
-
utils/text.py
17 17 pos = len(word) - word.rfind('\n') - 1 18 18 for word in it: 19 19 if "\n" in word: 20 lines = word.split lines()20 lines = word.split('\n') 21 21 else: 22 22 lines = (word,) 23 23 pos += len(lines[0]) + 1