Mercurial > vim
view src/testdir/dumps/Test_popupwin_04a.dump @ 29471:9ada26920941 v9.0.0077
patch 9.0.0077: wrong restored cursor position when switching window in autocmd
Commit: https://github.com/vim/vim/commit/b03950fafa07e8b8d975eeb345ad08b8b62e67ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 26 13:47:13 2022 +0100
patch 9.0.0077: wrong restored cursor position when switching window in autocmd
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Jul 2022 15:00:05 +0200 |
parents | 78e43be18f6b |
children |
line wrap: on
line source
> +0&#ffffff0@11 |~+0&#e0e0e08| @10 |~| @10 |~| @6|o+0#0000001#ffd7ff255|t|h|e |~+0#0000000#e0e0e08| @6|r+0#0000001#ffd7ff255| |t|a |~+0#0000000#e0e0e08| @6|b+0#0000001#ffd7ff255| @2 |~+0#0000000#e0e0e08| @6|a+0#0000001#ffd7ff255| |c+0#ff404010&|o |~+0#0000000#e0e0e08| @6|m+0#ff404010#ffd7ff255@1|e|n |~+0#0000000#e0e0e08| @6|t+0#ff404010#ffd7ff255| +0#0000001&|l|i | +0#0000000#ffffff0@5|0|,|n+0#0000001#ffd7ff255|e| @1