Listings - Invert Selection

When working with a selection in a listing, it would be useful to have an option to invert the selection.