annotate src/testdir/test19.in @ 7156:0b4e65cf84fb v7.4.889

commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 29 18:08:33 2015 +0200 patch 7.4.889 Problem: Triggering OptionSet from setwinvar() isn't tested. Solution: Add a test. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Sep 2015 18:15:04 +0200
parents 8e54a32bcd56
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Tests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.
4011
8e54a32bcd56 updated for version 7.3.760
Bram Moolenaar <bram@vim.org>
parents: 3060
diff changeset
2 Also test that dv_ works correctly
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 STARTTEST
3060
61b2f2662310 updated for version 7.3.302
Bram Moolenaar <bram@vim.org>
parents: 3058
diff changeset
5 :so small.vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :set smarttab expandtab ts=8 sw=4
1610
4541e06d4fb9 updated for version 7.1-323
vimboss
parents: 7
diff changeset
7 :" make sure that backspace works, no matter what termcap is used
4541e06d4fb9 updated for version 7.1-323
vimboss
parents: 7
diff changeset
8 :set t_kD=x7f t_kb=x08
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 /some
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 r :set noexpandtab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 /other
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 r
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :" Test replacing with Tabs and then backspacing to undo it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 0wR 
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :" Test replacing with Tabs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 0wR 
3058
4a7097153089 updated for version 7.3.301
Bram Moolenaar <bram@vim.org>
parents: 1610
diff changeset
17 :" Test that copyindent works with expandtab set
4a7097153089 updated for version 7.3.301
Bram Moolenaar <bram@vim.org>
parents: 1610
diff changeset
18 :set expandtab smartindent copyindent ts=8 sw=8 sts=8
3060
61b2f2662310 updated for version 7.3.302
Bram Moolenaar <bram@vim.org>
parents: 3058
diff changeset
19 o{
4011
8e54a32bcd56 updated for version 7.3.760
Bram Moolenaar <bram@vim.org>
parents: 3060
diff changeset
20 x:set nosol
8e54a32bcd56 updated for version 7.3.760
Bram Moolenaar <bram@vim.org>
parents: 3060
diff changeset
21 /Second line/
8e54a32bcd56 updated for version 7.3.760
Bram Moolenaar <bram@vim.org>
parents: 3060
diff changeset
22 fwdv_:?^start?,$w! test.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 start text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 some test text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 test text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 other test text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 a cde
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 f ghi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 test text
4011
8e54a32bcd56 updated for version 7.3.760
Bram Moolenaar <bram@vim.org>
parents: 3060
diff changeset
33 Second line beginning with whitespace