Ticket #3714: text-wrap.patch

File text-wrap.patch, 452 bytes (added by clelland@…, 18 years ago)

Fix for word wrap problem

  • utils/text.py

     
    1717        pos = len(word) - word.rfind('\n') - 1
    1818        for word in it:
    1919            if "\n" in word:
    20                 lines = word.splitlines()
     20                lines = word.split('\n')
    2121            else:
    2222                lines = (word,)
    2323            pos += len(lines[0]) + 1
Back to Top