address bug in text-window.sml: if we want to call getStartLineAfter, then always pass in a positive number
This commit is contained in:
@@ -187,7 +187,7 @@ struct
|
||||
else if cursorIdx > absIdx then
|
||||
(* possibly move downwards *)
|
||||
getStartLineAfter
|
||||
( startIdx
|
||||
( Int.max (startIdx, 0)
|
||||
, rStrHd
|
||||
, oldLine
|
||||
, absIdx
|
||||
|
||||
Reference in New Issue
Block a user