add code for deleting from rope.sml

This commit is contained in:
2024-03-14 23:05:36 +00:00
parent 8ea6d2c1b7
commit 571b16ba6c
2 changed files with 108 additions and 1 deletions

View File

@@ -306,7 +306,6 @@ struct
end
else if startIdx >= 0 andalso endIdx >= String.size str then
let
val start = Int.toString startIdx
val str = String.substring (str, 0, startIdx)
in
(N0 str, false)