large text gets truncated using textCtrl.WriteText()

Hi,
This sounds similar to my question posted some time ago
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:msp:72452

(bugreport with some extra info is at:
https://sourceforge.net/tracker/?func=detail&aid=1886535&group_id=9863&atid=109863

but I have actualy problems with pasting larger text from clipboard into TextCtrl (also after some repeated inserts the whole clipboard-text finally could be inserted).

However, If I try the simple test script (posted in the above mentioned thread), everything works ok, e.g.:

testStr = “\n”.join(str(i).zfill(99) for i in xrange(100000))
testTxtCtrl.Clear(); testTxtCtrl.WriteText(testStr)

the text is inserted into the TextCtrl widget without problems (actually the testStr is far longer, then I was able to paste throught clipboard)

(I use Python 2.5.2 and wxPython 2.8.7.1 on Win XPh/XPp SP2)

Greetings,
Vlasta

···

2008/3/4, Robin Dunn robin@alldunn.com:

james pruett wrote:

Hi, I have a truncation problem using textCtrl()
[…]
This does sound familiar, so I think it has been reported before, but I
don’t remember details.
[…]

Robin Dunn

Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks for the help Vlastimil and Robin,

I know this is a lame response, but this release shows my bug/problem.

http://downloads.sourceforge.net/singletomulti-c/a_singletomulti-c.zip-rev0.1.5.1.zip

To repeat:

  1. run main.py

  2. hit loadfile

  3. hit do-this

  4. scroll down and see that file ends do not match.

thanks for any/all help!

-jim

···

On 3/4/08, Vlastimil Brom vlastimil.brom@gmail.com wrote:

2008/3/4, Robin Dunn robin@alldunn.com:

james pruett wrote:

Hi, I have a truncation problem using textCtrl()
[…]

This does sound familiar, so I think it has been reported before, but I
don’t remember details.
[…]

Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi,
This sounds similar to my question posted some time ago
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:msp:72452

(bugreport with some extra info is at:
https://sourceforge.net/tracker/?func=detail&aid=1886535&group_id=9863&atid=109863

but I have actualy problems with pasting larger text from clipboard into TextCtrl (also after some repeated inserts the whole clipboard-text finally could be inserted).

However, If I try the simple test script (posted in the above mentioned thread), everything works ok, e.g.:

testStr = “\n”.join(str(i).zfill(99) for i in xrange(100000))
testTxtCtrl.Clear(); testTxtCtrl.WriteText(testStr)

the text is inserted into the TextCtrl widget without problems (actually the testStr is far longer, then I was able to paste throught clipboard)

(I use Python 2.5.2 and wxPython 2.8.7.1 on Win XPh/XPp SP2)

Greetings,
Vlasta