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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user