It seems that \n characters get the line number for the next line, but a column number that corresponds to the last column seen on the previous line, plus 1. I.e.:
I'd argue that it should either be the last character of the previous line (e.g. 1, 11 in this example) or the first character of the next line (that would be 2, 1 here), but not some weird amalgam of both.
It seems that \n characters get the line number for the next line, but a column number that corresponds to the last column seen on the previous line, plus 1. I.e.:
I'd argue that it should either be the last character of the previous line (e.g. 1, 11 in this example) or the first character of the next line (that would be 2, 1 here), but not some weird amalgam of both.