pudwinks
**Describe the bug** Deleting lines and then undoing them will not place the bookmark back correctly. **To Reproduce** Create a file with two lines. Put a bookmark on the bottom-most line. Delete that line (so there is 1 line total in the document) and then undo it. The bookmark will now be on the top-most line. **Expected behavior** The bookmark in this example should go back to the bottom-most line.