For #7075, don't delete the last line if the selection ends right at the beginning
Merge pull request #7081 from adobe/nj/issue-7075

Don't delete the last line if the selection ends right at the beginning