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:
@@ -50,7 +50,7 @@ struct
|
||||
)
|
||||
|
||||
val buffer = LineGap.goToIdx (cursorIdx, buffer)
|
||||
val cursorLine = LineGap.getLineNumberOfIdx (cursorIdx, buffer)
|
||||
val cursorLine = LineGap.idxToLineNumber (cursorIdx, buffer)
|
||||
val startLine =
|
||||
TextScroll.getStartLine (prevLineNumber, cursorLine, windowHeight)
|
||||
val buffer = LineGap.goToLine (startLine, buffer)
|
||||
@@ -120,7 +120,7 @@ struct
|
||||
)
|
||||
|
||||
val buffer = LineGap.goToIdx (cursorIdx, buffer)
|
||||
val cursorLine = LineGap.getLineNumberOfIdx (cursorIdx, buffer)
|
||||
val cursorLine = LineGap.idxToLineNumber (cursorIdx, buffer)
|
||||
val startLine =
|
||||
TextScroll.getStartLine (prevLineNumber, cursorLine, newWindowHeight)
|
||||
val buffer = LineGap.goToLine (startLine, buffer)
|
||||
|
||||
Reference in New Issue
Block a user