select part of line had improved

Improve defect. Now you can select part of line, the program can
automatic include the unselected part.