Point editor madness

woah! what a patch, I am a bit lost in the point editor patch. I patching a new version that will let me move neighbours point with offset so that if I move the tagged point 1 the neighbour will move .5, it all fine to this point I got the neighbour selection and I can get the indices of each point, what I really can t get right is where to pipe the offset (or reduced movement) to the neighbour points.
Any help appreciated.

some patch would be helpfull