comparison src/testdir/test_textprop.vim @ 30365:748b8dcfba57 v9.0.0518

patch 9.0.0518: virtual text highlight starts too early with 'nowrap' Commit: https://github.com/vim/vim/commit/b84d565c623c00ca40bb4c1269a6860f780dda09 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 20 17:57:53 2022 +0100 patch 9.0.0518: virtual text highlight starts too early with 'nowrap' Problem: Virtual text highlight starts too early with 'nowrap' and 'number' set. Solution: Add the offset to the attribute skip count. (issue #11138)
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Sep 2022 19:00:05 +0200
parents 6391b3ca26b7
children 11875afe85b2
comparison
equal deleted inserted replaced
30364:4400ee690a37 30365:748b8dcfba57
2923 call VerifyScreenDump(buf, 'Test_prop_below_split_line_1', {}) 2923 call VerifyScreenDump(buf, 'Test_prop_below_split_line_1', {})
2924 2924
2925 call term_sendkeys(buf, "\<Esc>:set number\<CR>") 2925 call term_sendkeys(buf, "\<Esc>:set number\<CR>")
2926 call VerifyScreenDump(buf, 'Test_prop_below_split_line_2', {}) 2926 call VerifyScreenDump(buf, 'Test_prop_below_split_line_2', {})
2927 2927
2928 call term_sendkeys(buf, ":set nowrap\<CR>")
2929 call VerifyScreenDump(buf, 'Test_prop_below_split_line_3', {})
2930
2928 call StopVimInTerminal(buf) 2931 call StopVimInTerminal(buf)
2929 endfunc 2932 endfunc
2930 2933
2931 func Test_props_with_text_override() 2934 func Test_props_with_text_override()
2932 CheckRunVimInTerminal 2935 CheckRunVimInTerminal