]> granicus.if.org Git - vim/commit
patch 9.0.0200: cursor wrong if 'nowrap' and two right aligned text props v9.0.0200
authorBram Moolenaar <Bram@vim.org>
Sat, 13 Aug 2022 18:35:05 +0000 (19:35 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 13 Aug 2022 18:35:05 +0000 (19:35 +0100)
commit8f369fb1ab7debeeda0fec69c379c528d162d9c5
tree8bac22fd9b0178208bc8365845f43380b6bb0856
parentf0ccfa474a5c4940d03bfc6084e896dc8ac2d791
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)
src/testdir/dumps/Test_prop_with_text_after_nowrap_1.dump
src/testdir/dumps/Test_prop_with_text_after_nowrap_2.dump
src/testdir/dumps/Test_prop_with_text_after_nowrap_3.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/textprop.c
src/version.c