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
|
else if cursorIdx > absIdx then
|
||||||
(* possibly move downwards *)
|
(* possibly move downwards *)
|
||||||
getStartLineAfter
|
getStartLineAfter
|
||||||
( startIdx
|
( Int.max (startIdx, 0)
|
||||||
, rStrHd
|
, rStrHd
|
||||||
, oldLine
|
, oldLine
|
||||||
, absIdx
|
, absIdx
|
||||||
|
|||||||
Reference in New Issue
Block a user