diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-08-29 12:08:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-08-29 12:08:43 +0200 |
commit | 49f9dd7b916fb32bfd0cc9a50f8c4f9bb1bb760b (patch) | |
tree | 4f9b6c58d378f7f439bf9a329260cdc6c1c6c154 /src/testdir | |
parent | 2d46e6075ba3aa369172e610782810b9ac3f1f4b (diff) | |
download | vim-git-49f9dd7b916fb32bfd0cc9a50f8c4f9bb1bb760b.tar.gz |
updated for version 7.4.422v7.4.422
Problem: When using conceal with linebreak some text is not displayed
correctly. (GrĂ¼ner Gimpel)
Solution: Check for conceal mode when using linebreak. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_listlbr.in | 10 | ||||
-rw-r--r-- | src/testdir/test_listlbr.ok | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/testdir/test_listlbr.in b/src/testdir/test_listlbr.in index 0cce4c23a..2f2812655 100644 --- a/src/testdir/test_listlbr.in +++ b/src/testdir/test_listlbr.in @@ -46,6 +46,16 @@ STARTTEST :redraw! :let line=ScreenChar(winwidth(0)) :call DoRecordScreen() +:let line="_S_\t bla" +:$put =line +:$ +:norm! zt +:let g:test ="Test 5: set linebreak with conceal and set list and tab displayed by different char (line may not be truncated)" +:set cpo&vim list linebreak conceallevel=2 concealcursor=nv listchars=tab:ab +:syn match ConcealVar contained /_/ conceal +:syn match All /.*/ contains=ConcealVar +:let line=ScreenChar(winwidth(0)) +:call DoRecordScreen() :%w! test.out :qa! ENDTEST diff --git a/src/testdir/test_listlbr.ok b/src/testdir/test_listlbr.ok index be323d4dc..9b8037f4d 100644 --- a/src/testdir/test_listlbr.ok +++ b/src/testdir/test_listlbr.ok @@ -25,3 +25,10 @@ Test 4: set linebreak with tab and 1 line as long as screen: should break! +aaaaaaaaaaaaaaaaaa ~ ~ +_S_ bla + +Test 5: set linebreak with conceal and set list and tab displayed by different char (line may not be truncated) +Sabbbbbb bla +~ +~ +~ |