Mercurial > vim
diff src/testdir/dumps/Test_prop_before_tab_03.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 | |
children |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/testdir/dumps/Test_prop_before_tab_03.dump @@ -0,0 +1,8 @@ +|1+0&#ffff4012|2|3| +0&#ffffff0@4|x| @65 +|1+0&#ffff4012|2|3|4|5|6|7> +0&#ffffff0|x| @65 +|1+0&#ffff4012|2|3|4|5|6|7|8| +0&#ffffff0@7|x| @57 +|1+0&#ffff4012|2|3|4|5|6|7|8|9| +0&#ffffff0@6|x| @57 +@8|A+0&#ffff4012|B|C|x+0&#ffffff0| @62 +@8|x|A+0&#ffff4012|B|C| +0&#ffffff0@62 +|~+0#4040ff13&| @73 +| +0#0000000&@56|2|,|1|-|8| @8|A|l@1|