Steps to reproduce
- Make an edit to a document
- Scroll somewhere else in the document, and click there
- Undo the edit via Ctrl+Z
- Redo the edit via Ctrl+Y
Actual result
After the final redo command, it’ll also move back to step 2, moving the cursor position and jumping the document away from where the last redo edit/change actually occurred.
Expected result
Redo the document edit, but jump the cursor to the point the edit occurred, not where the cursor was last clicked which could be far away in the document. As a compromise, the user’s last manual cursor position could be separated from a redo containing an edit, which allows jumping back across the document with a second use of Ctrl+Y.
Environment
- Operating system:
Windows 10
- Debug info:
Obsidian version: v0.13.14
Installer version: v0.12.15
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 3
Safe mode: on