Mercurial > vim
annotate src/testdir/dumps/Test_visual_block_with_virtualedit2.dump @ 33920:28e1e956f42c v9.0.2159
patch 9.0.2159: screenpos() may crash with neg. column
Commit: https://github.com/vim/vim/commit/ec54af4e26952d954a4cc009f62c80ea01445d30
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue Dec 12 16:43:44 2023 +0100
patch 9.0.2159: screenpos() may crash with neg. column
Problem: screenpos() may crash with neg. column
Solution: validate and correct column
closes: #13669
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Dec 2023 17:00:08 +0100 |
parents | 56817e74d106 |
children | 47385c831d92 |
rev | line source |
---|---|
25116
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 |a+0&#e0e0e08@5| | +0&#ffffff0@42 |
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |b+0&#e0e0e08@3| @2| +0&#ffffff0@42 |
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 |c+0&#e0e0e08@1> +0&#ffffff0| +0&#e0e0e08@3| +0&#ffffff0@42 |
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 |~+0#4040ff13&| @48 |
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 |~| @48 |
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 |~| @48 |
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 |~| @48 |
56817e74d106
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 |-+2#0000000&@1| |V|I|S|U|A|L| |B|L|O|C|K| |-@1| +0&&@3|3|x|3| @6|3|,|3| @10|A|l@1| |