On Thursday, January 5, 2012 10:00:57 PM UTC+7, mdb wrote: > > > You don't replace a node by a clone, you create another clone and move > it where you want it. > > Yes, in creating a new outline I would do so, but I am looking to 'fix' an > outline that has lost its clones >
Sorry but I don't understand what "an outline losing its clones" might mean. > and I want the Code1 and Code2 nodes to be re-linked to the CodeSnippet > subtree as clones. I also don't understand "re-link as clones". If you have two nodes that aren't clones now, there isn't any way to make them be clones. If in your example the nodes with the same names are not actually clones, then just delete the ones you don't want, copy and paste-retaining-clones wherever you like. I also found that paste-retaining-clones assumes the first node will be a > clone too, not just the children. I was expecting the top node to be a > simple copy-paste and any children that are clones to remain clones Again, your terms aren't clear - are "first node" and "top node" referring to the same thing? If you go back and look at my previous explanation I tried to make it as clear and simple as possible to understand. You clone a node to a new location. If that node has descendants, they all "come along for the ride", that whole subtree is actually the same data set in both instances, you can't have it be different in any way in one place from the other as long as they are clones, they simply have two or more parents at the same time. That's the way Leo's cloning works. If that isn't what you were expecting, then either adjust to the way it works or don't use it. > > The outline can have many cases of this that are awkward to fix by hand > (i.e. rather have a script) > Sorry I can't help with the script, and don't see how that would help anyway. If you just stop doing it wrong, then it won't need to be fixed any more in future right? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/zOy0Onx1ur8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
