On 8/7/2013 5:48 PM, Edward K. Ream wrote:
On Wednesday, August 7, 2013 3:37:51 PM UTC-5, Terry wrote:
c.deletePositionsInList(c.vnode2allPositions(p.v))
Yes, I think this should work. (not tested!)
The docs on c.vnode2allPositions() say that it doesn't really search for
*all* positions, just positions within v's distinct parents. Is there
ever a situation where this wouldn't grab *all* positions? I'm thinking
if one of the clones was a top-level node, there might be issues.
Additionally, I haven't looked into the code dealing with chapters - are
there special cases for clones in other chapters?
**Important**: My first thought was that the following would work:
c.deletePositionsInList([p.v])
I tried that at first myself. It threw an exception, so I dug into the
code a bit. :p
So I learned something today ;-)
Then it's been a day worth having!
-->Jake
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.