diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-26 13:47:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-26 13:47:13 +0100 |
commit | b03950fafa07e8b8d975eeb345ad08b8b62e67ce (patch) | |
tree | 887d38e97a9249733cbf43b6a3178e45a0cae90a /src/testdir/dumps/Test_autocmd_nested_switch.dump | |
parent | 92a1678d488b7d023ddf2cd493a6ee0d7fcf1928 (diff) |
patch 9.0.0077: wrong restored cursor position when switching window in autocmdv9.0.0077
Problem: When switching window in autocmd the restored cursor position may
be wrong.
Solution: Do not restore the cursor if it was not set. (closes #10775)
Diffstat (limited to 'src/testdir/dumps/Test_autocmd_nested_switch.dump')
-rw-r--r-- | src/testdir/dumps/Test_autocmd_nested_switch.dump | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/dumps/Test_autocmd_nested_switch.dump b/src/testdir/dumps/Test_autocmd_nested_switch.dump new file mode 100644 index 0000000000..499653e094 --- /dev/null +++ b/src/testdir/dumps/Test_autocmd_nested_switch.dump @@ -0,0 +1,10 @@ +>(+0&#ffffff0|)| @72 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +|X+3#0000000&|a|u|t|o|f|i|l|e| @47|1|,|1| @11|A|l@1 +|(+0&&|)| @72 +|~+0#4040ff13&| @73 +|~| @73 +|X+1#0000000&|a|u|t|o|f|i|l|e| @47|1|,|1| @11|A|l@1 +|"+0&&|X|a|u|t|o|f|i|l|e|"| |1|L|,| |3|B| @56 |