Allow \r to be treated as a newline
Update docs
Don't overload var name
Group prefix and suffix code
Use `lineStartIndex` as a var name
wip
Handle the empty text case
Unfocus spec
Append empty line when newText ends with newline
:lipstick:
Always add suffix
Merge remote-tracking branch 'origin/master' into cj-allow-carriage-returns
:lipstick:
Remove empty newText check
Allow ::setTextViaDiff to use carriage returns as newlines
Add spec
Add TextBuffer.newlineRegex
Remove redundant ::setTextViaDiff specs
Update newline regex in Range
Move newlineRegex to helper class