Press the alt key while selecting text with the mouse to select a rectangle of text, instead of entire lines.