>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:

Juergen> On 28-Feb-2002 Martin Vermeer wrote:

>> I am especially suspicious about pasteSelection in CutAndPaste. Is
>> it possible that we are traversing a linked-paragraphs structure
>> that is itself 'under construction'? The select buffer itself
>> perhaps?

Juergen> What I think is that the depth is saved in the paragraph and
Juergen> we don't change the value when pasting. I think we should
Juergen> change it relatively to the place we paste it. To explain: if
Juergen> we copy paragraphs with depth 2, 2, 3, 3, 2 and we paste them
Juergen> in a depth 0 paragraph then we should adapt the numbers as 0,
Juergen> 0, 1, 1, 0. Thoughts?

Looks good. Except that if we paste in a standard paragraph, the first
paragraph will become standard too, and thus the next ones should not
have depth higer than the preexisting paragraph (hmm, did what I wrote
make sense?)

JMarc

Reply via email to