Mercurial > vim
annotate src/testdir/test29.ok @ 7691:fd4175b669e2 v7.4.1144
commit https://github.com/vim/vim/commit/17576a1e33d71b5602cee86bf220a806c8412605
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 20 20:05:44 2016 +0100
patch 7.4.1144
Problem: Can't build on several systems.
Solution: Include float.h. (Christian Robinson, closes https://github.com/vim/vim/issues/570 https://github.com/vim/vim/issues/571)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 20 Jan 2016 20:15:06 +0100 |
parents | 81c26975e8f9 |
children |
rev | line source |
---|---|
7 | 1 asdfasdf. asdf |
2 asdfasdf. asdf | |
3 asdfasdf. asdf | |
4 asdfasdf. asdf | |
5 asdfasdf. asdf | |
6 asdfasdf. asdf | |
7 asdfasdf. asdf | |
8 asdfasdf asdf | |
9 asdfasdf asdf | |
10 asdfasdf asdf | |
11 asdfasdf asdf | |
12 asdfasdf asdf | |
13 asdfasdf asdf | |
14 asdfasdf asdf | |
2291
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
15 zx cvn. as dfg? hjkl iop! ert ernop |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
16 zx cvn. as dfg? hjkl iop! ert ernop |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
17 |
7 | 18 asdfasdf. asdf |
19 asdfasdf. asdf | |
20 asdfasdf. asdf | |
21 asdfasdf. asdf | |
22 asdfasdf. asdf | |
23 asdfasdf. asdf | |
24 asdfasdf. asdf | |
25 asdfasdf asdf | |
26 asdfasdf asdf | |
27 asdfasdf asdf | |
28 asdfasdf asdf | |
29 asdfasdf asdf | |
30 asdfasdf asdf | |
31 asdfasdf asdf | |
2291
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
32 zx cvn. as dfg? hjkl iop! ert enop |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
33 zx cvn. as dfg? hjkl iop! ert ernop |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
34 |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
35 asdfasdf. asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
36 asdfasdf. asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
37 asdfasdf. asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
38 asdfasdf. asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
39 asdfasdf. asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
40 asdfasdf. asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
41 asdfasdf. asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
42 asdfasdf asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
43 asdfasdf asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
44 asdfasdf asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
45 asdfasdf asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
46 asdfasdf asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
47 asdfasdf asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
48 asdfasdf asdf |
f412e141c821
Improve test for joining lines. (Milan Vancura)
Bram Moolenaar <bram@vim.org>
parents:
7
diff
changeset
|
49 zx cvn. as dfg? hjkl iop! ert a |
3562 | 50 |
51 | |
52 { | |
53 /* Make sure the previous comment leader is not removed. */ | |
54 /* Make sure the previous comment leader is not removed. */ | |
55 // Should the next comment leader be left alone? Yes. | |
56 // Should the next comment leader be left alone? Yes. | |
57 /* Here the comment leader should be left intact. */ // And so should this one. | |
58 /* Here the comment leader should be left intact. */ // And so should this one. | |
59 if (condition) // Remove the next comment leader! OK, I will. | |
60 action(); | |
61 if (condition) // Remove the next comment leader! OK, I will. | |
62 action(); | |
63 } | |
64 | |
5852 | 65 1 this shouldn't be deleted |
66 2 this shouldn't be deleted | |
67 3 this shouldn't be deleted | |
68 4 this should be deleted3 | |
69 | |
70 6 this shouldn't be deleted vim5 | |
71 7 this shouldn't be deleted vim6 | |
72 8 this shouldn't be deleted (not touched yet) vim7 | |
73 | |
3562 | 74 |
75 { | |
76 /* Make sure the previous comment leader is not removed. */ | |
77 /* Make sure the previous comment leader is not removed. */ | |
3580 | 78 /* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz */ |
79 /* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz */ | |
3562 | 80 // Should the next comment leader be left alone? Yes. |
81 // Should the next comment leader be left alone? Yes. | |
82 /* Here the comment leader should be left intact. */ // And so should this one. | |
83 /* Here the comment leader should be left intact. */ // And so should this one. | |
84 if (condition) // Remove the next comment leader! OK, I will. | |
85 action(); | |
86 if (condition) // Remove the next comment leader! OK, I will. | |
87 action(); | |
88 int i = 7 /* foo *// 3 // comment | |
89 ; | |
90 int i = 7 /* foo *// 3 // comment | |
91 ; | |
92 ># Note that the last character of the ending comment leader (left angle bracket) is a comment leader itself. Make sure that this comment leader is not removed from the next line #< < On this line a new comment is opened which spans 2 lines. This comment should retain its comment leader. | |
93 ># Note that the last character of the ending comment leader (left angle bracket) is a comment leader itself. Make sure that this comment leader is not removed from the next line #< < On this line a new comment is opened which spans 2 lines. This comment should retain its comment leader. | |
94 | |
95 Some code!// Make sure backspacing does not remove this comment leader. | |
96 } | |
97 |