John Levon wrote:
> If we are cutting multiple pars, the pars are excised from the par list
> and "buf" in CutAndPaste.C is set to point to them. They are finally
> deleted when the next operation resets "buf".
>
> Now if we are deleting (!realcut) we don't seem to set buf, and the
> paragraphs that are removed fall through the floor. Where have I misread
> ? (1.2 source btw)
Yes you see it wrong. The paragraphs are cloned (copied) and the
original paragraphs are always "deleted". I don't think there are
memory leaks in this code, but just try to start your favorite
checker tool and let us know #:O) (btw the code deleting the
paragraphs is breakParagraphConservative(...))
Jug
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. J�rgen Vigna E-Mail: [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 Steinegg Web: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._