To select a part of your code, drag your mouse while pressing .

Column selection