Mercurial > vim
comparison src/testdir/test_textprop.vim @ 29625:78418bd45852 v9.0.0153
patch 9.0.0153: no fold and sign column for virtual text with "below" align
Commit: https://github.com/vim/vim/commit/1306b36a7b63c33b8948a78c71feb087cf83a39d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 6 15:59:06 2022 +0100
patch 9.0.0153: no fold and sign column for virtual text with "below" align
Problem: No fold and sign column for virtual text with "below" align and
'nowrap'.
Solution: Go back to draw state WL_START when moving to the next line.
(closes #10851)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Aug 2022 17:00:03 +0200 |
parents | f1ed6f520d09 |
children | dd96f3d8ed85 |
comparison
equal
deleted
inserted
replaced
29624:d1f6c735f767 | 29625:78418bd45852 |
---|---|
2441 END | 2441 END |
2442 call writefile(lines, 'XscriptPropsAfterNowrap') | 2442 call writefile(lines, 'XscriptPropsAfterNowrap') |
2443 let buf = RunVimInTerminal('-S XscriptPropsAfterNowrap', #{rows: 8, cols: 60}) | 2443 let buf = RunVimInTerminal('-S XscriptPropsAfterNowrap', #{rows: 8, cols: 60}) |
2444 call VerifyScreenDump(buf, 'Test_prop_with_text_after_nowrap_1', {}) | 2444 call VerifyScreenDump(buf, 'Test_prop_with_text_after_nowrap_1', {}) |
2445 | 2445 |
2446 call term_sendkeys(buf, ":set signcolumn=yes foldcolumn=3\<CR>") | |
2447 call VerifyScreenDump(buf, 'Test_prop_with_text_after_nowrap_2', {}) | |
2448 | |
2446 call StopVimInTerminal(buf) | 2449 call StopVimInTerminal(buf) |
2447 call delete('XscriptPropsAfterNowrap') | 2450 call delete('XscriptPropsAfterNowrap') |
2448 endfunc | 2451 endfunc |
2449 | 2452 |
2450 func Test_removed_prop_with_text_cleans_up_array() | 2453 func Test_removed_prop_with_text_cleans_up_array() |