Mercurial > vim
annotate src/testdir/test_listlbr.ok @ 8861:45fe799c9672 v7.4.1718
commit https://github.com/vim/vim/commit/d56374e25df0b317b01423a01f158157faa647fa
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 7 22:16:30 2016 +0200
patch 7.4.1718
Problem: Coverity: not using return value of set_ref_in_item().
Solution: Use the return value.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 07 Apr 2016 22:30:05 +0200 |
parents | 68f2cac6b0db |
children |
rev | line source |
---|---|
6026 | 1 |
6062 | 2 abcdef hijklmn pqrstuvwxyz_1060ABCDEFGHIJKLMNOP |
6026 | 3 |
4 Test 1: set linebreak | |
5 abcdef | |
6 +hijklmn | |
6062 | 7 +pqrstuvwxyz_1060ABC |
6026 | 8 +DEFGHIJKLMNOP |
9 | |
10 Test 2: set linebreak + set list | |
11 ^Iabcdef hijklmn^I | |
6062 | 12 +pqrstuvwxyz_1060ABC |
6026 | 13 +DEFGHIJKLMNOP |
14 | |
15 | |
6062 | 16 Test 3: set linebreak nolist |
6026 | 17 abcdef |
18 +hijklmn | |
6062 | 19 +pqrstuvwxyz_1060ABC |
6026 | 20 +DEFGHIJKLMNOP |
21 1 aaaaaaaaaaaaaaaaaa | |
22 | |
6062 | 23 Test 4: set linebreak with tab and 1 line as long as screen: should break! |
6026 | 24 1 |
25 +aaaaaaaaaaaaaaaaaa | |
26 ~ | |
27 ~ | |
6172 | 28 _S_ bla |
29 | |
30 Test 5: set linebreak with conceal and set list and tab displayed by different char (line may not be truncated) | |
31 Sabbbbbb bla | |
32 ~ | |
33 ~ | |
34 ~ | |
6866 | 35 Test 6: set linebreak with visual block mode |
6266 | 36 this not |
37 aaaaaaaaaaaaa | |
38 REMOVE: | |
39 REMOVE: | |
6866 | 40 Test 7: set linebreak with visual block mode and v_b_A |
41 long line: foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end | |
42 Test 8: set linebreak with visual char mode and changing block | |
43 1111-2222-1111-11-1111-2222-1111 | |
6961 | 44 Test 9: using redo after block visual mode |
45 | |
46 AaA | |
47 AaA | |
48 A | |
7001 | 49 Test 10: using normal commands after block-visual |
50 | |
51 abcdpqrs | |
7143
fe6d525d12f4
commit https://github.com/vim/vim/commit/10ad1d90da8c464e1bf08bf23d92d4888378a8a1
Christian Brabandt <cb@256bit.org>
parents:
7001
diff
changeset
|
52 Test 11: using block replace mode after wrapping |
fe6d525d12f4
commit https://github.com/vim/vim/commit/10ad1d90da8c464e1bf08bf23d92d4888378a8a1
Christian Brabandt <cb@256bit.org>
parents:
7001
diff
changeset
|
53 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa |
fe6d525d12f4
commit https://github.com/vim/vim/commit/10ad1d90da8c464e1bf08bf23d92d4888378a8a1
Christian Brabandt <cb@256bit.org>
parents:
7001
diff
changeset
|
54 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa |
7344
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
55 Test 12: set linebreak list listchars=space:_,tab:>-,tail:-,eol:$ |
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
56 a aaaaaaaaaaaaaaaaaaaaaa a |
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
57 |
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
58 Test 12: set linebreak list listchars=space:_,tab:>-,tail:-,eol:$ |
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
59 a_ |
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
60 aaaaaaaaaaaaaaaaaaaa |
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
61 aa>-----a-$ |
68f2cac6b0db
commit https://github.com/vim/vim/commit/9bc01ebb957d2b30d57bd30d7aee6f1df2a336b0
Christian Brabandt <cb@256bit.org>
parents:
7143
diff
changeset
|
62 ~ |