Files
neovim/test/functional
Justin M. Keyes e973eb4a8f fix(multicursor): undo corrupted by insert that changes line-count #41835
Problem:
Undo "u" is wrong after cascading an insert that adds a line (`A{<CR>`, `o`, …).

The cascade replays the insert as a per-cursor `edit()`, where `u_save`
stores a line multiple times into the undo block at different line
counts; then `getbot` computes conflicting entries that undo each other.

Solution:
`u_save` the whole affected line-range as one entry at session start,
the same approach used by Vim for linewise ops (`op_shift`, `ex_sort`).
The "enclosing" `u_save` wins and the invalid entries are overridden.
2026-09-10 11:06:08 -04:00
..
2026-09-01 15:17:22 +00:00
2026-09-09 11:39:57 +01:00
2026-09-08 16:50:53 +01:00