On Saturday, May 23, 2020 at 7:09:20 AM UTC+10, Edward K. Ream wrote:
>
>
>
> On Fri, May 22, 2020 at 1:06 PM Thomas Passin <[email protected] 
> <javascript:>> wrote:
>
> This sounds as if a cloned node in the original tree will end up as a 
>> cloned node in the final tree.  That is not what I see, though.  The node 
>> that is a clone in the original tree  becomes a copy (not a clone) in the 
>> pasted tree.  That would fit in with "new gnx's for all pasted nodes".
>>
>
> You misunderstand me. If there are two (cloned nodes) A in the copied 
> tree, those clones will be clones *of each other* in any pasted tree, as 
> I have just verified.
>
> It's harder to describe what happens than to verify what happens. I'm 
> quite sure Leo does the correct thing in all situations.
>

I want to declare my interest in this subject. I have use cases similar to 
what it seems Thomas has, which would benefit significantly from the 
functionality I believe he's seeking. 

Edward, I also think I understand what you're referring to, but I think you 
are referring to a different concern (preserving the nature of clones that 
are internal to the tree being copied). I believe Thomas is referring to 
how clones are handled when copying a tree that contains clones of nodes 
that are outside the tree being copied. If so, I'm interested in this 
problem also. Also, I think Thomas is not indicating a bug, but rather 
enquiring about additional functionality. 

What I think both Thomas and I are interested in achieving is as follows. 
Let's say we have a tree like below. Note that all nodes are NOT clones 
unless specifically stated:

Node A
 + Node A1
 + Node A2
 + Node A3
Node B
 + Node A1 (a clone)
 + Node B2
   + Node A3 (a clone)


Now, what I want to do is copy Node B and have the following result:

Node A
 + Node A1
 + Node A2
 + Node A3
Node B
 + Node A1 (a clone)
 + Node B2
   + Node A3 (a clone)
Node B (but this is a copy, not a clone)
 + Node A1 (still a clone)
 + Node B2 (but this is a copy, not a clone)
   + Node A3 (still a clone)

I would love this functionality, but currently it's not present. I think 
there are many use cases for this. I use it for templating-like tasks. But 
at the moment it's really clunky to achieve, as I have to use Paste-node 
then reinstate the clones. I often miss some and then chaos ensues.


-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/2f77daee-df18-4680-9a17-8d1c763f4bdf%40googlegroups.com.

Reply via email to