Selection is a combination of buffer, path and range