I have a smart reference
and I want to limit the search scope for it.
The problem is that the limitation should depend on the index of the
node in it's enclosingNode.
And I don't know how to get that index if it is a new node and referenceNode
is therefor null.
In other words: how would I go about finding out on which item the user's cursor is in the parent's child node cell list when the reference constraint code is called ?