annotate src/testdir/dumps/Test_popup_and_previewwindow_01.dump @ 34625:ad1b0609b2f8 v9.1.0201

patch 9.1.0201: gM not working correctly with virt text Commit: https://github.com/vim/vim/commit/366c81a2005370ac738618d889ec0337397a9f96 Author: Dylan Thacker-Smith <dylan.ah.smith@gmail.com> Date: Sun Mar 24 09:46:56 2024 +0100 patch 9.1.0201: gM not working correctly with virt text Problem: `gM` would include outer virtual text and its padding when getting the line length used to calculate the middle of the line, putting the cursor much closer to virtual text lines. Solution: Exclude outer virtual text in getting the line length for `gM`, so that virtual text doesn't influence where the cursor is moved to (Dylan Thacker-Smith). closes: #14262 Signed-off-by: Dylan Thacker-Smith <dylan.ah.smith@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Mar 2024 10:00:07 +0100
parents d1d840cfd135
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15087
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 |a+0&#ffffff0|b|0| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 |a|b|1| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 |a|b|2| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 |a|b|3| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 |a|b|4| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 |a|b|5| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 |a|b|6| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 |a|b|7| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 |a|b|8| @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 |a+0#0000001#e0e0e08|b|0| @11| +0#0000000#0000001|e+1&#ffffff0|w|]|[|+|]| @34|1|,|1| @11|T|o|p
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 |a+0#0000001#ffd7ff255|b|1| @11| +0#0000000#0000001| +0&#ffffff0@58
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 |a+0#0000001#ffd7ff255|b|2| @11| +0#0000000#0000001| +0&#ffffff0@58
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 |a+0#0000001#ffd7ff255|b|3| @11| +0#0000000#0000001| +0&#ffffff0@58
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 |a+0#0000001#ffd7ff255|b|4| @11| +0#0000000#a8a8a8255| +0&#ffffff0@58
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 |a+0#0000001#ffd7ff255|b|5| @11| +0#0000000#a8a8a8255| +0&#ffffff0@58
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 |a+0#0000001#ffd7ff255|b|6| @11| +0#0000000#a8a8a8255| +0&#ffffff0@58
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 |a|b|0> @71
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 |~+0#4040ff13&| @73
19811
d1d840cfd135 patch 8.2.0462: previewwindow test fails on some systems
Bram Moolenaar <Bram@vim.org>
parents: 15087
diff changeset
19 |[+3#0000000&|N|o| |N|a|m|e|]| |[|+|]| @43|1@1|,|1| @10|B|o|t
15087
6a74cde86252 patch 8.1.0554: popup menu overlaps with preview window
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 |-+2&&@1| |K|e|y|w|o|r|d| |L|o|c|a|l| |c|o|m|p|l|e|t|i|o|n| |(|^|N|^|P|)| |m+0#00e0003&|a|t|c|h| |1| |o|f| |1|0| +0#0000000&@26