Try using "ALT + Mouse drag" (hold ALT while selecting with the left mouse button) it will select without empty lines.