Lines selection by mouse