Mercurial > vim
view src/testdir/dumps/Test_visual_block_with_virtualedit.dump @ 29676:b4fea827c20a v9.0.0178
patch 9.0.0178: cursor position wrong with virtual text before Tab
Commit: https://github.com/vim/vim/commit/e428fa04a758cc87ea580c856a796e58e407504b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 9 16:55:41 2022 +0100
patch 9.0.0178: cursor position wrong with virtual text before Tab
Problem: Cursor position wrong with virtual text before Tab.
Solution: Use the byte length, not the cell with, to compare the column.
Correct tab size after text prop. (closes #10866)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 09 Aug 2022 18:00:03 +0200 |
parents | b7062becbfb5 |
children | 47385c831d92 |
line wrap: on
line source
|a+0&#e0e0e08@5> +0&#ffffff0@43 |b+0&#e0e0e08@3| @2| +0&#ffffff0@42 |c+0&#e0e0e08@1| @4| +0&#ffffff0@42 |~+0#4040ff13&| @48 |~| @48 |~| @48 |~| @48 |-+2#0000000&@1| |V|I|S|U|A|L| |B|L|O|C|K| |-@1| +0&&@3|3|x|7| @6|1|,|7| @10|A|l@1|