- print minMovedPos, maxMovedPos, targetPos
- print "déposé après la dernière"
- raise NotImplementedError()
+ # selection moved after the last item position
+ pos = minMovedPos
+ for id in IndexIterator(pos2id, targetPos, start=minMovedPos+1) :
+ id2posUpdate[id] = pos
+ pos2idUpdate[pos] = id
+ pos += 1
+
+ pos = targetPos - len(ids) + 1
+ for id in ids :
+ id2posUpdate[id] = pos
+ pos2idUpdate[pos] = id
+ pos +=1