Mercurial > vim
view src/testdir/dumps/Test_relnr_colors_2.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 | f6c87afa5501 |
children |
line wrap: on
line source
| +0#4040ff13#ffffff0@1|4| |1+0#0000000&|0|6| @42 | +0#4040ff13&@1|3| |1+0#0000000&|0|7| @42 | +0#4040ff13&@1|2| |1+0#0000000&|0|8| @42 | +0#4040ff13&@1|1| |1+0#0000000&|0|9| @42 |1+0#ff404010&@2| >1+0#0000000&@1|0| @42 | +0#ff404010&@1|1| |1+0#0000000&@2| @42 | +0#ff404010&@1|2| |1+0#0000000&@1|2| @42 | +0#ff404010&@1|3| |1+0#0000000&@1|3| @42 | +0#ff404010&@1|4| |1+0#0000000&@1|4| @42 |:| @30|1@2|,|1| @8|5@1|%|