From 8c56f9cc95794274d358af3b9e3de67fce534fc0 Mon Sep 17 00:00:00 2001 From: Humza Shahid Date: Fri, 19 Sep 2025 04:40:34 +0100 Subject: [PATCH] fix typo in line_gap.sml which caused a compilation error --- src/line_gap.sml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/line_gap.sml b/src/line_gap.sml index ea159c3..a79e6b7 100644 --- a/src/line_gap.sml +++ b/src/line_gap.sml @@ -3230,7 +3230,7 @@ struct case (rightStrings, rightLines) of (shd :: stl, lhd :: ltl) => let - val nextLine = curLine + Vector.length hd + val nextLine = curLine + Vector.length lhd in if findLine <= nextLine then let val relativeLine = findLine - curLine - 1