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
Block Comments: CR lines not handled the same as LF lines #3225
Taken from problems in PR #3179 with file
when Tree is printed with LF:
when Tree is printed with CR:
LF is [11:2] but CR is [7:131]. CR doesn't start and end on the same line which is what is wrong. The whole file has CR and we treat them as new lines, so we should do the same for comments.