Mercurial > vim
view src/testdir/dumps/Test_prop_with_text_after_nowrap_1.dump @ 29720:bf965640744d v9.0.0200
patch 9.0.0200: cursor wrong if 'nowrap' and two right aligned text props
Commit: https://github.com/vim/vim/commit/8f369fb1ab7debeeda0fec69c379c528d162d9c5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 13 19:35:05 2022 +0100
patch 9.0.0200: cursor wrong if 'nowrap' and two right aligned text props
Problem: cursor in a wrong positoin if 'wrap' is off and using two right
aligned text props in one line.
Solution: Count an extra line for a right aligned text property after a
below or right aligned text property. (issue #10909)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Aug 2022 20:45:03 +0200 |
parents | 2f5610696bcd |
children |
line wrap: on
line source
|o+0&#ffffff0|n|e| +0&#ffd7ff255|A|f|t|e|r| |t|h|e| |t|e|x|t| +0&#ffffff0@31|r+0&#ffd7ff255|i|g|h|t| |h|e|r|e | +0#ffffff16#e000002|B|e|l|o|w| |t|h|e| |l|i|n|e| | +0#0000000#ffffff0@43 |t|w|o| @56 |a+0&#ffff4012|n|o|t|h|e|r| +0&#ffffff0@52 |O+0#ffffff16#e000002|n|e| |M|o|r|e| |H|e|r|e| +0#0000000#ffffff0@46 |t|h|r|e>e| @41|r+0&#ffff4012|i|g|h|t| |a|l|i|g|n|e|d | +0&#ffffff0@41|a+0&#ffff4012|l|s|o| |r|i|g|h|t| |a|l|i|g|n|e|d |f+0&#ffffff0|o|u|r| @55 |~+0#4040ff13&| @58 |~| @58 |~| @58 | +0#0000000&@41|3|,|5| @10|A|l@1|