>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:
>> - Memory leak! Add three paragraphs to an empty document, each >> consisting of only one letter (say "a", "b", and "c"); press >> "CTRL-Z" -> "c" vanishes; cursor stays in third par (no mem leak); >> press "CTRL-Z" again -> "b" vanishes; cursor stays in second par >> (mem leak) Pressing CTRL-Z a third time causes additional memory >> leaks of 240 bytes. Jean Marc, how about a Purify report? Juergen> I'm pretty sure I know now where we leak (and where we ALWAYS Juergen> leaked) with undo/redo. The problem is that we don't delete Juergen> the paragraphs we substitute. Juergen> The code is in textHandleUndo() and IMO we have to change Juergen> this peace of code: I tried to read the code one time, but I've been just scared to death by those tmppar[1-5] variables. That can't be serious. Juergen> But I would really like a purify report for this if possible! I cannot do that anymore now that I moved. However, from what I remember, the purify leak report was not very helpful (I do not not know how to use these). JMarc