annotate src/testdir/test25.in @ 1188:2a276274c592

updated for version 7.1b
author vimboss
date Thu, 10 May 2007 16:48:19 +0000
parents 3fc0f57ecb91
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 Test for jumping to a tag with 'hidden' set, with symbolic link in path of tag.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 This only works for Unix, because of the symbolic link.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :set hidden
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :" Create a link from test25.dir to the current directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :!rm -f test25.dir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 :!ln -s . test25.dir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :" Create tags.text, with the current directory name inserted.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 /tags line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 :r !pwd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 d$/test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 hP:.w! tags.test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :" Try jumping to a tag in the current file, but with a path that contains a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 :" symbolic link. When wrong, this will give the ATTENTION message. The next
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 :set tags=tags.test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 G x:.w! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 :!rm -f test25.dir tags.test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 tags line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 SECTION_OFF /test25.dir/test25.in /^#define SECTION_OFF 3$/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 /*tx.c*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 #define SECTION_OFF 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 #define NUM_SECTIONS 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 SECTION_OFF