Files
1grzyb1 6650aef408 VIM-4370 Undo one IdeaVim command at a time in Rider split mode
Rider has no speculative undo, so the undo stack is on the backend. The
backend applies the frontend's changes as undo-transparent patches,
merges all of them into one undo step, and undoes all transparent steps
on top of the stack at once. So one `u` undid every change IdeaVim made
since the backend's own last command, e.g. both deletions after `x x`.

Before each command that follows a change, the frontend now asks the
backend to end the undo step. If the step has only the frontend's
changes, the backend merges a no-op non-transparent action into it first,
so it's undone on its own.

It relies on how the platform merges undo steps, so it's a workaround
until RIDER-145069 is fixed.
2026-11-09 10:59:04 +01:00
..