Select Invert selects everything on the current layer which wasn't originally selected (it selects the opposite). If nothing in the image is selected before using this function, the whole layer is selected.
Default Keyboard Shortcut: Ctrl-I