Win32lib richedit bug!

new topic     » topic index » view thread      » older message » newer message

------------2712CE417301E24

Try the attached file. I'm using win32lib 59.1.

1. Fill in 60000 and check StreamRTF, and click OK.
   See at the bottom of the RichEdit. The number is truncated.

2. Uncheck StreamRTF and click OK again.
   See at the bottom of the RichEdit. Now the number is not truncated
   (000059991 still can be seen).

3. Now fill in 200000 and check StreamRTF, click OK.
   The number is truncated at 0000600..

4. Uncheck StreamRTF, click OK. Works well.

5. Check StreamRTF, click OK. Also works well.

It seems that if StreamText is selected (StreamRTF is not checked),
the buffer for the RichEdit will be allocated, but not when StreamRTF
is selected.

How to fix it? I saw the source code but I don't understand.

Thanks!

   

------------2712CE417301E24
Content-Type: APPLICATION/OCTET-STREAM; name="tesrtf.exw"

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu