annotate src/testdir/test93.in @ 8907:5deb9e8f4292 v7.4.1740

commit https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 14 19:50:22 2016 +0200 patch 7.4.1740 Problem: syn-cchar defined with matchadd() does not appear if there are no other syntax definitions which matches buffer text. Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes https://github.com/vim/vim/issues/757)
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Apr 2016 20:00:07 +0200
parents 91f6a28e010d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4172
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 vim: set ft=vim fenc=latin1:
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 Tests if :mksession saves cursor columns correctly in presence of tab and
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 multibyte characters when fileencoding=latin1.
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 STARTTEST
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :so mbyte.vim
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :if !has('mksession')
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 : e! test.ok
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 : wq! test.out
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :endif
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :set sessionoptions=buffers splitbelow fileencoding=latin1
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 /^start:
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :vsplit
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 j16|:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 j16|:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 j16|:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 j8|:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 j8|:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 j16|:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 j16|:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 j16|:wincmd l
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 /^start:
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 :set nowrap
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 j16|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 j016|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 j016|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 j08|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 j08|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 j016|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31 j016|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 j016|3zl:split
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 :mksession! test.out
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 :new test.out
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 :v/\(^ *normal! 0\|^ *exe 'normal!\)/d
5363
91f6a28e010d updated for version 7.4.033
Bram Moolenaar <bram@vim.org>
parents: 4172
diff changeset
36 :w! test.out
4172
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 :qa!
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 ENDTEST
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 start:
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 no multibyte chAracter
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 one leaDing tab
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 four leadinG spaces
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 two consecutive tabs
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 two tabs in one line
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46 one ä multibyteCharacter
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 aä Ä two multiByte characters
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 Aäöü three mulTibyte characters