Update spec to maintain for selections when appending a newline
Maintain selection ranges when adding a newline