seems like 'NormalYankDelete' functions need to yank one character more than the deletion range, so implement that, and make note to add tests for that module
This commit is contained in:
@@ -6,7 +6,7 @@ structure NormalYankDelete =
|
||||
|
||||
fun initMsgs (low, length, buffer) =
|
||||
let
|
||||
val str = LineGap.substring (low, length, buffer)
|
||||
val str = LineGap.substring (low, length + 1, buffer)
|
||||
val msg = YANK str
|
||||
in
|
||||
[DRAW msg]
|
||||
|
||||
Reference in New Issue
Block a user