3D Cursor follows Mouse Movement
As Chaola said, probably you are trying to select the edges with the left-mouse button. To change this preference:


go to File > User Preferences (or use the shortcut Ctrl + Alt + U)
move to Input section
in the left side you can choose what mouse button you want to use to select objects