PDA

View Full Version : cTextEdit bug



Peter Crook
28-Mar-2015, 09:23 AM
I'm attaching a workspace showing a change in behaviour in the cTextEdit class. If you compile it in 18.0 you get the result shown in the first image, if you compile it in 18.1 you get the result shown in the second. The first is what is wanted.

(Sorry about the typo in the button label!)

The problem seems to be related to the new way that extended fields are stored (now in a UChar array rather than a memory heap) - the database field causing the problem is a TEXT field (embedded database).

Dennis Piccioni
30-Mar-2015, 09:37 AM
Hi Peter,

your zip file mostly has FDs in it, I see no source code. Can we see the code that displays the data in the text control?

Peter Crook
30-Mar-2015, 01:52 PM
Sorry!
This is what I meant to send you (I hope!)

Dennis Piccioni
31-Mar-2015, 05:47 PM
Hi Peter,

ok, I have reproduced this here. We'll check into it.

Dennis Piccioni
20-Apr-2015, 02:07 PM
Hi Peter,

this should be fixed in the next public build, please retest when we post that.

Peter Crook
21-Apr-2015, 05:15 AM
Thanks Dennis. I take it you mean Alpha 4 rather than Alpha 3 (which I haven't downloaded yet).

Dennis Piccioni
21-Apr-2015, 01:44 PM
Yes, whatever the next public build will be called, it's not in Alpha 3.