Mercurial > vim
view src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.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 | c83460a14407 |
children |
line wrap: on
line source
|h+0#ff404010#e0e0004|e|l@1|o| @31||+1#0000000#ffffff0|h+0#0000001#4040ff13|e|l@1|o| @31 |h+0#ff404010#e0e0004|e|l@1|o| @31||+1#0000000#ffffff0|h+0#0000001#4040ff13|e|l@1|o| @31 | +0#ff404010#e0e0004@36||+1#0000000#ffffff0> +0#0000001#4040ff13@36 | +0#ff404010#e0e0004@36||+1#0000000#ffffff0| +0#0000001#4040ff13@36 | +0#ff404010#e0e0004@36||+1#0000000#ffffff0| +0#0000001#4040ff13@36 | +0#ff404010#e0e0004@36||+1#0000000#ffffff0| +0#0000001#4040ff13@36 |!+0#ffffff16#00e0003|c|a|t| |[|r|u|n@1|i|n|g|]| @22||+1#0000000#ffffff0|!+2#ffffff16#00e0003|c|a|t| |[|r|u|n@1|i|n|g|]| @22 |h+0#00e0003#5fd7ff255|e|l@1|o| @31||+1#0000000#ffffff0|0+0&&| @35 |h+0#00e0003#5fd7ff255|e|l@1|o| @31||+1#0000000#ffffff0|1+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|2+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|3+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|4+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|5+0&&| @35 |!+0#ffffff16#00e0003|c|a|t| |[|r|u|n@1|i|n|g|]| @23|[+1#0000000#ffffff0|N|o| |N|a|m|e|]| |[|+|]| @23 |:+0&&|s|e|t| |w|i|n|c|o|l|o|r|=|M|y|W|i|n|C|o|l|2| @51