Mercurial > vim
view src/testdir/dumps/Test_display_fillchars_2.dump @ 32397:f9d4988a86ef v9.0.1530
patch 9.0.1530: cursor moves to wrong line when 'foldmethod' is "diff"
Commit: https://github.com/vim/vim/commit/aa6ba308a1498dc8da04d1d30ec0470018bf782a
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Tue May 9 16:01:17 2023 +0100
patch 9.0.1530: cursor moves to wrong line when 'foldmethod' is "diff"
Problem: Cursor moves to wrong line when 'foldmethod' is "diff". (Rick
Howe)
Solution: Adjust logic for scrolling. (Luuk van Baal, closes #12364,
closes #12218)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 09 May 2023 17:15:03 +0200 |
parents | 9dce192d1ac2 |
children |
line wrap: on
line source
>w+0&#ffffff0|i|n|d|o|w| |2| @28|++1&&|w+0&&|i|n|d|o|w| |1| @28 |w|i|n|d|o|w| |2| @28|++1&&|w+0&&|i|n|d|o|w| |1| @28 |w|i|n|d|o|w| |2| @28|++1&&|w+0&&|i|n|d|o|w| |1| @28 |y+0#4040ff13&| @35|++1#0000000&|x+0#4040ff13&| @35 |[+3#0000000&|N|o| |N|a|m|e|]| |[|+|]|2@5|1|,|1|2@11|A|l@1|2|[+1&&|N|o| |N|a|m|e|]| |[|+|]|a@5|1|,|1|a@11|A|l@1 |w+0&&|i|n|d|o|w| |4| @28|>+1&&|w+0&&|i|n|d|o|w| |3| @28 |w|i|n|d|o|w| |4| @28|>+1&&|w+0&&|i|n|d|o|w| |3| @28 |w|i|n|d|o|w| |4| @28|>+1&&|w+0&&|i|n|d|o|w| |3| @28 |o+0#4040ff13&| @35|>+1#0000000&|z+0#4040ff13&| @35 |o| @35|>+1#0000000&|z+0#4040ff13&| @35 |[+1#0000000&|N|o| |N|a|m|e|]| |[|+|]|d@5|1|,|1|d@11|A|l@1|d|[|N|o| |N|a|m|e|]| |[|+|]|c@5|1|,|1|c@11|A|l@1 |:+0&&|w|i|n|c|m|d| |k| @65