annotate src/testdir/test93.in @ 6991:814f1f569e4a v7.4.813

patch 7.4.813 Problem: It is not possible to save and restore character search state. Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 14:26:19 +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