fix bug in line_gap.sml's 'lineNumberToIdxRight' function: when calling 'lineNumberToIdxRight', pass tails of 'rightStrings' and 'rightLines', instead of passing 'rightStrings' and 'rightLines' themselves, so that we advance through the list

This commit is contained in:
2025-09-22 10:20:27 +01:00
parent 8c56f9cc95
commit d76ab0c3fe

View File

@@ -3238,12 +3238,7 @@ struct
end
else
lineNumberToIdxRight
( findLine
, curIdx + String.size shd
, nextLine
, rightStrings
, rightLines
)
(findLine, curIdx + String.size shd, nextLine, stl, ltl)
end
| (_, _) => curIdx