Mercurial > vim
view src/testdir/dumps/Test_incsearch_substitute_11.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 | d44e0469f8bb |
children |
line wrap: on
line source
|f+1&#ffffff0|o+0&#ffff4012@1| |1| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |2| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |3| +0&#ffffff0@64 |[+3&&|N|o| |N|a|m|e|]| |[|+|]| @38|1|,|1| @11|T|o|p |f+0&#ffff4012|o@1| |2| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |3| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |4| +0&#ffffff0@64 |[+1&&|N|o| |N|a|m|e|]| |[|+|]| @38|2|,|1| @11|1|2|% |:+0&&|%|s|/|.> @64