make select-all include the whole first line; fixes #1212

Found a way around it.