Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jamessan
Copy link
Contributor

In 7.4.1896, guards were added around specific mark_adjust() calls to
avoid updating marks if a new line was being added to the end of the
buffer. However, this breaks updating the state of windows in
'diffmode' when a buffer is changed in that manner, leading to incorrect
diff views.

In 7.4.1896, guards were added around specific mark_adjust() calls to
avoid updating marks if a new line was being added to the end of the
buffer.  However, this breaks updating the state of windows in
'diffmode' when a buffer is changed in that manner, leading to incorrect
diff views.
@brammool brammool closed this in f58a847 Mar 5, 2017
@jamessan jamessan deleted the lastline-mark-update branch March 13, 2017 15:51
chrisbra pushed a commit to chrisbra/vim that referenced this pull request Mar 25, 2017
Problem:    Diff mode is displayed wrong when adding a line at the end of a
            buffer.
Solution:   Adjust marks in diff mode. (James McCoy, closes vim#1329)
desvp pushed a commit to desvp/vim that referenced this pull request May 30, 2017
Problem:    Diff mode is displayed wrong when adding a line at the end of a
            buffer.
Solution:   Adjust marks in diff mode. (James McCoy, closes vim#1329)
justinmk added a commit to justinmk/neovim that referenced this pull request Jan 21, 2018
Problem:    diff mode is insufficiently tested
Solution:   Add more test cases. (Dominique Pelle, closes vim/vim#1685)

vim/vim@79a213d

NA / already applied:
---------------------
vim-patch:8.0.0421: diff mode wrong when adding line at end of buffer
Problem:    Diff mode is displayed wrong when adding a line at the end of a
            buffer.
Solution:   Adjust marks in diff mode. (James McCoy, closes vim/vim#1329)
vim/vim@f58a847
justinmk added a commit to justinmk/neovim that referenced this pull request Jan 21, 2018
Problem:    diff mode is insufficiently tested
Solution:   Add more test cases. (Dominique Pelle, closes vim/vim#1685)

vim/vim@79a213d

NA / already applied:
---------------------
vim-patch:8.0.0421: diff mode wrong when adding line at end of buffer
Problem:    Diff mode is displayed wrong when adding a line at the end of a
            buffer.
Solution:   Adjust marks in diff mode. (James McCoy, closes vim/vim#1329)
vim/vim@f58a847
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant