Mercurial > vim
annotate src/testdir/test_listlbr_utf8.ok @ 8247:6ee794dc950e v7.4.1416
commit https://github.com/vim/vim/commit/669cac0a805333e69b9e1176425083914eada659
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 25 15:25:03 2016 +0100
patch 7.4.1416
Problem: Using "u_char" intead of "char_u", which doesn't work everywhere.
(J?rg Plate)
Solution: Use "char_u" always.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Feb 2016 15:30:05 +0100 |
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! |