Compare commits

...
1 Commits
Author SHA1 Message Date
Zachary Rice a62cc52aba nasty little bug (#853) 2022-04-23 11:18:56 -05:00
+1
View File
@@ -22,6 +22,7 @@ func location(fragment Fragment, matchIndex []int) Location {
end := matchIndex[1]
for lineNum, pair := range fragment.newlineIndices {
_lineNum = lineNum
newLineByteIndex := pair[0]
if prevNewLine <= start && start < newLineByteIndex {
lineSet = true