if (!Sequence.Tree.isDescendant(basePath, affectedPath)) {
// All paths from here forward are guaranteed to be unaffected
break;
}
affectedPath.update(depth, affectedPath.get(depth) - count);
}
}
/**
* Removes affected paths from within the specified sequence in response