annotate src/testdir/test_breakindent.ok @ 6341:094a87e76155 v7.4.503

updated for version 7.4.503 Problem: Cannot append a list of lines to a file. Solution: Add the append option to writefile(). (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Nov 2014 18:06:01 +0100
parents 735bd597a8ff
children 72d5a533ec87
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5995
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 Test 1: Simple breakindent
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 abcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 qrst
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 GHIJ
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 Test 2: Simple breakindent + sbr=>>
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 abcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 >>qr
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 >>EF
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 Test 3: Simple breakindent + briopt:sbr
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 abcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 ++ qrst
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 ++ GHIJ
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 Test 4: Simple breakindent + min width: 18
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 abcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 qrstuv
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 IJKLMN
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 Test 5: Simple breakindent + shift by 2
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 abcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 qr
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 EF
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 Test 6: Simple breakindent + shift by -1
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 abcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31 qrstu
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 HIJKL
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 Test 7: breakindent + shift by +1 + nu + sbr=? briopt:sbr
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 2 ab
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 ? m
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 ? x
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 Test 8: breakindent + shift:1 + nu + sbr=# list briopt:sbr
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 2 ^Iabcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 # opq
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 # BCD
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 Test 9: breakindent + shift by +1 + 'nu' + sbr=# list
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 2 ^Iabcd
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46 #op
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 #AB
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+=n
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 2 ab
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 ~ mn
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 ~ yz
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 Test 11: strdisplaywidth when breakindent is on
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 strdisplaywidth: 46 == calculated: 64
6160
735bd597a8ff updated for version 7.4.416
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
56 Test 12: breakindent with wrapping Tab
735bd597a8ff updated for version 7.4.416
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
57 d
735bd597a8ff updated for version 7.4.416
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
58 w