pull in new brolib-sml changes (which just changes one particular function's name to be clearer), and modify code to use the correct name

This commit is contained in:
2025-09-16 22:20:55 +01:00
parent c4fedc6434
commit 1adb74df2c
4 changed files with 7 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ struct
TextScroll.getScrollColumn
(buffer, cursorIdx, windowWidth, prevScrollColumn)
val cursorLine = LineGap.getLineNumberOfIdx (cursorIdx, buffer)
val cursorLine = LineGap.idxToLineNumber (cursorIdx, buffer)
val startLine =
TextScroll.getStartLine (prevLineNumber, cursorLine, windowHeight)
@@ -196,7 +196,7 @@ struct
TextScroll.getScrollColumn
(buffer, cursorIdx, windowWidth, prevScrollColumn)
val cursorLine = LineGap.getLineNumberOfIdx (cursorIdx, buffer)
val cursorLine = LineGap.idxToLineNumber (cursorIdx, buffer)
val startLine =
TextScroll.getStartLine (prevLineNumber, cursorLine, windowHeight)