Expand the last line with '\n' in case of overselection.