added selection of lines in drawing window