[wxPython-users] large text gets truncated using textCtrl.WriteText()

james pruett gpscruise at gmail.com
Wed Mar 5 08:04:59 PST 2008


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 at gmail.com> wrote:
>
>
> 2008/3/4, Robin Dunn <robin at 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 <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=3Ddetail&aid=3D1886535&group_id=3D9=
863&atid=3D109863
>
> but I have actualy problems with pasting larger text from clipboard into
> TextCtrl (also after some repeated inserts the whole clipboard-text final=
ly
> could be inserted).
>
> However, If I try the simple test script (posted in the above mentioned
> thread), everything works ok, e.g.:
>
> testStr =3D "\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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200803=
05/1df1c7a9/attachment.htm


More information about the wxpython-users mailing list