Mercurial > vim
comparison src/testdir/test_textprop.vim @ 30767:5dba398584fd v9.0.0718
patch 9.0.0718: extra empty line between two virtual text "below"
Commit: https://github.com/vim/vim/commit/ccf2837a05cef0ea4913ebff4f2f6000bc050271
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 10 21:10:03 2022 +0100
patch 9.0.0718: extra empty line between two virtual text "below"
Problem: Extra empty line between two virtual text "below" when 'wrap' and
'number' are set.
Solution: Reset "before" when there is no text in the screen line.
(closes #11334)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Oct 2022 22:15:03 +0200 |
parents | 8ea77a6ceff0 |
children | fc9993c5835a |
comparison
equal
deleted
inserted
replaced
30766:11bee01b89d7 | 30767:5dba398584fd |
---|---|
2651 END | 2651 END |
2652 call writefile(lines, 'XscriptPropsAfterTrunc', 'D') | 2652 call writefile(lines, 'XscriptPropsAfterTrunc', 'D') |
2653 let buf = RunVimInTerminal('-S XscriptPropsAfterTrunc', #{rows: 8, cols: 60}) | 2653 let buf = RunVimInTerminal('-S XscriptPropsAfterTrunc', #{rows: 8, cols: 60}) |
2654 call VerifyScreenDump(buf, 'Test_prop_with_text_after_below_trunc_1', {}) | 2654 call VerifyScreenDump(buf, 'Test_prop_with_text_after_below_trunc_1', {}) |
2655 | 2655 |
2656 call term_sendkeys(buf, ":set number\<CR>") | |
2657 call VerifyScreenDump(buf, 'Test_prop_with_text_after_below_trunc_2', {}) | |
2658 | |
2656 call StopVimInTerminal(buf) | 2659 call StopVimInTerminal(buf) |
2657 endfunc | 2660 endfunc |
2658 | 2661 |
2659 func Test_props_with_text_after_joined() | 2662 func Test_props_with_text_after_joined() |
2660 CheckRunVimInTerminal | 2663 CheckRunVimInTerminal |