handle edge case when deleting from buffer: if the previous match is extended into a new match, then replace the old match in the search list with the extended match

This commit is contained in:
2026-02-07 02:25:45 +00:00
parent 68be55342d
commit 340e52019f
2 changed files with 21 additions and 36 deletions

View File

@@ -1,8 +1,5 @@
# To-do list
- Make sure that all delete function in make-normal-delete.sml also delete from searchList
- Handle edge cases regarding deletion from searchList.
- Edge case 1: deletion causes a match to be extended
- Any other edge cases possible?
- Add normal-delete tests for each motion, checking that searchList is as expected
- Add tests for other yank motoins
- Tests should be based on existing tests for delete-motions, and in the same order.