Fix #167 (split selections into lines)