Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix difference in CRLF line ending handling between tree-sitter and text-buffer #16738
Text-buffer on the other hand, does not consider the position between a CR and and LF to be a valid position. It does not let you read or write changes between those characters.
To compensate for this difference in position semantics, I've had to add a special case to the