Re: [Tkinter-discuss] Strange word wrapping behaviour in Text widget

2014-01-28 Thread Michael O'Donnell
Thanks Michael, Just checked it with Windows, and no problem, although the current 3.3.4 install uses TK 8.5.11, and my problem was under 8.5.15. But Python 3.4 with Tk 8.6 exhibits no problem also, so maybe a MacOSX problem. mick On 28 January 2014 11:15, Michael Lange wrote: > Hi, > > On T

Re: [Tkinter-discuss] Strange word wrapping behaviour in Text widget

2014-01-28 Thread Michael Lange
Hi, On Tue, 28 Jan 2014 10:52:12 +0100 "Michael O'Donnell" wrote: > Hi All, > > Running Python 3.3.3 / Tk 8.5.15 under MacOSX 10.9.1 > > I am using a Text widget to display > some text from a file, with 'wrap=WORD' set. > > When the file uses both \n and \r in line breaks > (which happens in

[Tkinter-discuss] Strange word wrapping behaviour in Text widget

2014-01-28 Thread Michael O'Donnell
Hi All, Running Python 3.3.3 / Tk 8.5.15 under MacOSX 10.9.1 I am using a Text widget to display some text from a file, with 'wrap=WORD' set. When the file uses both \n and \r in line breaks (which happens in some Windows files) The last word of each line is wrapped to the next line. E.g. text: