Mercurial > vim
annotate src/testdir/test_listlbr_utf8.ok @ 9068:0a3bc9fdea20 v7.4.1819
commit https://github.com/vim/vim/commit/827b165b2aebad2cfe98cc6d5804c6c0fe8afd89
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 5 18:14:03 2016 +0200
patch 7.4.1819
Problem: Compiler warnings when sprintf() is a macro.
Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis,
closes https://github.com/vim/vim/issues/788)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 05 May 2016 18:15:05 +0200 |
parents | 6170f4945b83 |
children |
rev | line source |
---|---|
6062 | 1 |
2 abcdef hijklmn pqrstuvwxyz 1060ABCDEFGHIJKLMNOP | |
3 | |
4 Test 1: set linebreak + set list + fancy listchars | |
5 ▕———abcdef | |
6 +hijklmn▕——— | |
7 +pqrstuvwxyz␣1060ABC | |
8 +DEFGHIJKLMNOPˑ¶ | |
9 | |
10 Test 2: set nolinebreak list | |
11 ▕———abcdef hijklmn▕— | |
12 +pqrstuvwxyz␣1060ABC | |
13 +DEFGHIJKLMNOPˑ¶ | |
14 ¶ | |
6100 | 15 *mask = nil; |
16 | |
17 Test 3: set linebreak nolist | |
18 *mask = nil; | |
19 ~ | |
20 ~ | |
21 ~ | |
6520 | 22 #define ABCDE 1 |
23 #define ABCDEF 1 | |
24 #define ABCDEFG 1 | |
25 #define ABCDEFGH 1 | |
26 #define MSG_MODE_FILE 1 | |
27 #define MSG_MODE_CONSOLE 2 | |
28 #define MSG_MODE_FILE_AND_CONSOLE 3 | |
29 #define MSG_MODE_FILE_THEN_CONSOLE 4 | |
30 | |
31 Test 4: set linebreak list listchars and concealing | |
32 #define ABCDE>-->---1 | |
33 #define >CDEF>-->---1 | |
34 #define >CDEFG>->---1 | |
35 #define >CDEFGH>----1 | |
36 #define >_FILE>--------->--->---1 | |
37 #define >_CONSOLE>---------->---2 | |
38 #define >_FILE_AND_CONSOLE>---------3 | |
6627 | 39 bbeeeeee ; some text |
40 | |
41 Test 5: set linebreak list listchars and concealing part2 | |
42 eeeeee>--->-;>some text | |
43 Test 6: Screenattributes for comment | |
44 /* and some more */ | |
45 ScreenAttributes for test6: | |
46 Attribut 0 and 1 and 3 and 5 are different! | |
6866 | 47 Test 8: set linebreak with visual block mode and v_b_A and selection=exclusive and multibyte char |
48 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 TARGETÃx' at end | |
7287
6fcadba9ec7a
commit https://github.com/vim/vim/commit/32a214e78df0120f92fe049eab1385c60f0cdb0b
Christian Brabandt <cb@256bit.org>
parents:
6866
diff
changeset
|
49 |
6fcadba9ec7a
commit https://github.com/vim/vim/commit/32a214e78df0120f92fe049eab1385c60f0cdb0b
Christian Brabandt <cb@256bit.org>
parents:
6866
diff
changeset
|
50 a b c |
6fcadba9ec7a
commit https://github.com/vim/vim/commit/32a214e78df0120f92fe049eab1385c60f0cdb0b
Christian Brabandt <cb@256bit.org>
parents:
6866
diff
changeset
|
51 a b c |
6fcadba9ec7a
commit https://github.com/vim/vim/commit/32a214e78df0120f92fe049eab1385c60f0cdb0b
Christian Brabandt <cb@256bit.org>
parents:
6866
diff
changeset
|
52 |
6fcadba9ec7a
commit https://github.com/vim/vim/commit/32a214e78df0120f92fe049eab1385c60f0cdb0b
Christian Brabandt <cb@256bit.org>
parents:
6866
diff
changeset
|
53 Test 9: a multibyte sign and colorcolumn |
7316
6170f4945b83
commit https://github.com/vim/vim/commit/1c57fe8b9450eb29c3e42a94527d4b7514f853e2
Christian Brabandt <cb@256bit.org>
parents:
7287
diff
changeset
|
54 ¶ |
6170f4945b83
commit https://github.com/vim/vim/commit/1c57fe8b9450eb29c3e42a94527d4b7514f853e2
Christian Brabandt <cb@256bit.org>
parents:
7287
diff
changeset
|
55 +a b c¶ |
6170f4945b83
commit https://github.com/vim/vim/commit/1c57fe8b9450eb29c3e42a94527d4b7514f853e2
Christian Brabandt <cb@256bit.org>
parents:
7287
diff
changeset
|
56 a b c¶ |
7287
6fcadba9ec7a
commit https://github.com/vim/vim/commit/32a214e78df0120f92fe049eab1385c60f0cdb0b
Christian Brabandt <cb@256bit.org>
parents:
6866
diff
changeset
|
57 Screen attributes are the same! |