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 <klappn...@web.de> wrote:
> Hi,
>
> On Tue, 28 Jan 2014 10:52:12 +0100
> "Michael O'Donnell" <michael.odonn...@uam.es> 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 some Windows files)
>>
>> The last word of each line is wrapped to the next line.
>> E.g. text:
>>
>>  "Mike Krath\n\ris nice." is displayed as
>>
>> Mike
>> Krath
>>
>> is nice.
>>
>> When editing the text, the widget gets confused
>> as to where characters are on the screen. Clicking
>> just past the end of line of "Krath", the insert curser
>> appears BEFORE the "h".
>>
>> Try the example below to see if it happens on
>> your installation:
> (...)
>
> this does not happen here with Python-3.2.3 / Tk-8.5.11 on debian; here
> the carriage return is displayed as a small rectangle with "CR" in it
> (better than I had expected ;), editing appears to be fine.
> Maybe it is a Mac-specific issue?
>
> Regards
>
> Michael
>
>
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
>
> There's no honorable way to kill, no gentle way to destroy.  There is
> nothing good in war.  Except its ending.
>                 -- Abraham Lincoln, "The Savage Curtain", stardate 5906.5
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss@python.org
> https://mail.python.org/mailman/listinfo/tkinter-discuss
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to