]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1885: Wrong restored cursor pos when re-entering buffer after changes v9.1.1885
authorzeertzjq <zeertzjq@outlook.com>
Tue, 28 Oct 2025 20:27:19 +0000 (20:27 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 28 Oct 2025 20:27:19 +0000 (20:27 +0000)
commitb2e6b328dafe1cdfff10f1e811355e514da8071d
tree8e2e3b75afd4d8b3e258f5ed10d721fc67c48400
parent9ad706735d35c23ecbfa8a306190882631a7e2b4
patch 9.1.1885: Wrong restored cursor pos when re-entering buffer after changes

Problem:  Wrong restored cursor position when re-entering a buffer
          previously viewed in a window after making changes to the same
          buffer in another window.
Solution: Adjust per-window "last cursor" positions on buffer changes.
          (zeertzjq)

closes: #18655

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/mark.c
src/testdir/test_buffer.vim
src/version.c