minor cosmetic change
This commit is contained in:
@@ -205,6 +205,7 @@ struct
|
|||||||
(* special case: file ends with \n\n,
|
(* special case: file ends with \n\n,
|
||||||
* and cursor is on first \n *)
|
* and cursor is on first \n *)
|
||||||
let
|
let
|
||||||
|
val buffer = LineGap.goToIdx (startOfLine, buffer)
|
||||||
val newCursorLineNumber =
|
val newCursorLineNumber =
|
||||||
if Cursor.isPrevChrStartOfLine (buffer, startOfLine) then
|
if Cursor.isPrevChrStartOfLine (buffer, startOfLine) then
|
||||||
#lineLength buffer - 1 - count
|
#lineLength buffer - 1 - count
|
||||||
|
|||||||
Reference in New Issue
Block a user