annotate src/testdir/test92.in @ 9760:96667173293d v7.4.2155

commit https://github.com/vim/vim/commit/9d5b876d458e242b8b5e44da10c5cdc6bbb7f57c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 4 21:21:13 2016 +0200 patch 7.4.2155 Problem: Quotes make GUI test fail on MS-Windows. Solution: Remove quotes, strip white space.
author Christian Brabandt <cb@256bit.org>
date Thu, 04 Aug 2016 21:30: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=utf-8:
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=utf-8.
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=utf-8
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 “b” two multiByte characters
1c819b05529c updated for version 7.3.838
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 “c”1€ three mulTibyte characters