Auto Loop Resizing

When I am editing audio in a loop, and I shorten it by deleting part of the sample, it should reset the loop points.