Mercurial > vim
annotate src/version.c @ 4244:7faeece39228 v7.3.873
updated for version 7.3.873
Problem: Cannot easily use :s to make title case.
Solution: Have "\L\u" result in title case. (James McCoy)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 19 Mar 2013 17:42:15 +0100 |
parents | edd0bc1f26bd |
children | 4d0b39bcec20 |
rev | line source |
---|---|
7 | 1 /* vi:set ts=8 sts=4 sw=4: |
2 * | |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 * See README.txt for an overview of the Vim source code. | |
8 */ | |
9 | |
10 #include "vim.h" | |
11 | |
12 #ifdef AMIGA | |
13 # include <time.h> /* for time() */ | |
14 #endif | |
15 | |
16 /* | |
17 * Vim originated from Stevie version 3.6 (Fish disk 217) by GRWalter (Fred) | |
18 * It has been changed beyond recognition since then. | |
19 * | |
26 | 20 * Differences between version 6.x and 7.x can be found with ":help version7". |
7 | 21 * Differences between version 5.x and 6.x can be found with ":help version6". |
22 * Differences between version 4.x and 5.x can be found with ":help version5". | |
23 * Differences between version 3.0 and 4.x can be found with ":help version4". | |
24 * All the remarks about older versions have been removed, they are not very | |
25 * interesting. | |
26 */ | |
27 | |
28 #include "version.h" | |
29 | |
378 | 30 char *Version = VIM_VERSION_SHORT; |
31 static char *mediumVersion = VIM_VERSION_MEDIUM; | |
7 | 32 |
33 #if defined(HAVE_DATE_TIME) || defined(PROTO) | |
34 # if (defined(VMS) && defined(VAXC)) || defined(PROTO) | |
35 char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__) | |
36 + sizeof(__TIME__) + 3]; | |
4147 | 37 |
38 static void list_features __ARGS((void)); | |
39 | |
7 | 40 void |
41 make_version() | |
42 { | |
43 /* | |
44 * Construct the long version string. Necessary because | |
45 * VAX C can't catenate strings in the preprocessor. | |
46 */ | |
47 strcpy(longVersion, VIM_VERSION_LONG_DATE); | |
48 strcat(longVersion, __DATE__); | |
49 strcat(longVersion, " "); | |
50 strcat(longVersion, __TIME__); | |
51 strcat(longVersion, ")"); | |
52 } | |
53 # else | |
54 char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")"; | |
55 # endif | |
56 #else | |
57 char *longVersion = VIM_VERSION_LONG; | |
58 #endif | |
59 | |
60 static void version_msg __ARGS((char *s)); | |
61 | |
62 static char *(features[]) = | |
63 { | |
64 #ifdef AMIGA /* only for Amiga systems */ | |
65 # ifdef FEAT_ARP | |
66 "+ARP", | |
67 # else | |
68 "-ARP", | |
69 # endif | |
70 #endif | |
71 #ifdef FEAT_ARABIC | |
72 "+arabic", | |
73 #else | |
74 "-arabic", | |
75 #endif | |
76 #ifdef FEAT_AUTOCMD | |
77 "+autocmd", | |
78 #else | |
79 "-autocmd", | |
80 #endif | |
81 #ifdef FEAT_BEVAL | |
82 "+balloon_eval", | |
83 #else | |
84 "-balloon_eval", | |
85 #endif | |
86 #ifdef FEAT_BROWSE | |
87 "+browse", | |
88 #else | |
89 "-browse", | |
90 #endif | |
91 #ifdef NO_BUILTIN_TCAPS | |
92 "-builtin_terms", | |
93 #endif | |
94 #ifdef SOME_BUILTIN_TCAPS | |
95 "+builtin_terms", | |
96 #endif | |
97 #ifdef ALL_BUILTIN_TCAPS | |
98 "++builtin_terms", | |
99 #endif | |
100 #ifdef FEAT_BYTEOFF | |
101 "+byte_offset", | |
102 #else | |
103 "-byte_offset", | |
104 #endif | |
105 #ifdef FEAT_CINDENT | |
106 "+cindent", | |
107 #else | |
108 "-cindent", | |
109 #endif | |
110 #ifdef FEAT_CLIENTSERVER | |
111 "+clientserver", | |
112 #else | |
113 "-clientserver", | |
114 #endif | |
115 #ifdef FEAT_CLIPBOARD | |
116 "+clipboard", | |
117 #else | |
118 "-clipboard", | |
119 #endif | |
120 #ifdef FEAT_CMDL_COMPL | |
121 "+cmdline_compl", | |
122 #else | |
123 "-cmdline_compl", | |
124 #endif | |
125 #ifdef FEAT_CMDHIST | |
126 "+cmdline_hist", | |
127 #else | |
128 "-cmdline_hist", | |
129 #endif | |
130 #ifdef FEAT_CMDL_INFO | |
131 "+cmdline_info", | |
132 #else | |
133 "-cmdline_info", | |
134 #endif | |
135 #ifdef FEAT_COMMENTS | |
136 "+comments", | |
137 #else | |
138 "-comments", | |
139 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
140 #ifdef FEAT_CONCEAL |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
141 "+conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
142 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
143 "-conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
144 #endif |
7 | 145 #ifdef FEAT_CRYPT |
146 "+cryptv", | |
147 #else | |
148 "-cryptv", | |
149 #endif | |
150 #ifdef FEAT_CSCOPE | |
151 "+cscope", | |
152 #else | |
153 "-cscope", | |
154 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
155 #ifdef FEAT_CURSORBIND |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
156 "+cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
157 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
158 "-cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
159 #endif |
647 | 160 #ifdef CURSOR_SHAPE |
161 "+cursorshape", | |
162 #else | |
163 "-cursorshape", | |
164 #endif | |
7 | 165 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG) |
166 "+dialog_con_gui", | |
167 #else | |
168 # if defined(FEAT_CON_DIALOG) | |
169 "+dialog_con", | |
170 # else | |
171 # if defined(FEAT_GUI_DIALOG) | |
172 "+dialog_gui", | |
173 # else | |
174 "-dialog", | |
175 # endif | |
176 # endif | |
177 #endif | |
178 #ifdef FEAT_DIFF | |
179 "+diff", | |
180 #else | |
181 "-diff", | |
182 #endif | |
183 #ifdef FEAT_DIGRAPHS | |
184 "+digraphs", | |
185 #else | |
186 "-digraphs", | |
187 #endif | |
188 #ifdef FEAT_DND | |
189 "+dnd", | |
190 #else | |
191 "-dnd", | |
192 #endif | |
193 #ifdef EBCDIC | |
194 "+ebcdic", | |
195 #else | |
196 "-ebcdic", | |
197 #endif | |
198 #ifdef FEAT_EMACS_TAGS | |
199 "+emacs_tags", | |
200 #else | |
201 "-emacs_tags", | |
202 #endif | |
203 #ifdef FEAT_EVAL | |
204 "+eval", | |
205 #else | |
206 "-eval", | |
207 #endif | |
208 #ifdef FEAT_EX_EXTRA | |
209 "+ex_extra", | |
210 #else | |
211 "-ex_extra", | |
212 #endif | |
213 #ifdef FEAT_SEARCH_EXTRA | |
214 "+extra_search", | |
215 #else | |
216 "-extra_search", | |
217 #endif | |
218 #ifdef FEAT_FKMAP | |
219 "+farsi", | |
220 #else | |
221 "-farsi", | |
222 #endif | |
223 #ifdef FEAT_SEARCHPATH | |
224 "+file_in_path", | |
225 #else | |
226 "-file_in_path", | |
227 #endif | |
228 #ifdef FEAT_FIND_ID | |
229 "+find_in_path", | |
230 #else | |
231 "-find_in_path", | |
232 #endif | |
1621 | 233 #ifdef FEAT_FLOAT |
234 "+float", | |
235 #else | |
236 "-float", | |
237 #endif | |
7 | 238 #ifdef FEAT_FOLDING |
239 "+folding", | |
240 #else | |
241 "-folding", | |
242 #endif | |
243 #ifdef FEAT_FOOTER | |
244 "+footer", | |
245 #else | |
246 "-footer", | |
247 #endif | |
248 /* only interesting on Unix systems */ | |
249 #if !defined(USE_SYSTEM) && defined(UNIX) | |
250 "+fork()", | |
251 #endif | |
252 #ifdef FEAT_GETTEXT | |
253 # ifdef DYNAMIC_GETTEXT | |
254 "+gettext/dyn", | |
255 # else | |
256 "+gettext", | |
257 # endif | |
258 #else | |
259 "-gettext", | |
260 #endif | |
261 #ifdef FEAT_HANGULIN | |
262 "+hangul_input", | |
263 #else | |
264 "-hangul_input", | |
265 #endif | |
266 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV) | |
267 # ifdef DYNAMIC_ICONV | |
268 "+iconv/dyn", | |
269 # else | |
270 "+iconv", | |
271 # endif | |
272 #else | |
273 "-iconv", | |
274 #endif | |
275 #ifdef FEAT_INS_EXPAND | |
276 "+insert_expand", | |
277 #else | |
278 "-insert_expand", | |
279 #endif | |
280 #ifdef FEAT_JUMPLIST | |
281 "+jumplist", | |
282 #else | |
283 "-jumplist", | |
284 #endif | |
285 #ifdef FEAT_KEYMAP | |
286 "+keymap", | |
287 #else | |
288 "-keymap", | |
289 #endif | |
290 #ifdef FEAT_LANGMAP | |
291 "+langmap", | |
292 #else | |
293 "-langmap", | |
294 #endif | |
295 #ifdef FEAT_LIBCALL | |
296 "+libcall", | |
297 #else | |
298 "-libcall", | |
299 #endif | |
300 #ifdef FEAT_LINEBREAK | |
301 "+linebreak", | |
302 #else | |
303 "-linebreak", | |
304 #endif | |
305 #ifdef FEAT_LISP | |
306 "+lispindent", | |
307 #else | |
308 "-lispindent", | |
309 #endif | |
310 #ifdef FEAT_LISTCMDS | |
311 "+listcmds", | |
312 #else | |
313 "-listcmds", | |
314 #endif | |
315 #ifdef FEAT_LOCALMAP | |
316 "+localmap", | |
317 #else | |
318 "-localmap", | |
319 #endif | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
320 #ifdef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
321 # ifdef DYNAMIC_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
322 "+lua/dyn", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
323 # else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
324 "+lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
325 # endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
326 #else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
327 "-lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
328 #endif |
7 | 329 #ifdef FEAT_MENU |
330 "+menu", | |
331 #else | |
332 "-menu", | |
333 #endif | |
334 #ifdef FEAT_SESSION | |
335 "+mksession", | |
336 #else | |
337 "-mksession", | |
338 #endif | |
339 #ifdef FEAT_MODIFY_FNAME | |
340 "+modify_fname", | |
341 #else | |
342 "-modify_fname", | |
343 #endif | |
344 #ifdef FEAT_MOUSE | |
345 "+mouse", | |
346 # ifdef FEAT_MOUSESHAPE | |
347 "+mouseshape", | |
348 # else | |
349 "-mouseshape", | |
350 # endif | |
351 # else | |
352 "-mouse", | |
353 #endif | |
3898 | 354 |
7 | 355 #if defined(UNIX) || defined(VMS) |
356 # ifdef FEAT_MOUSE_DEC | |
357 "+mouse_dec", | |
358 # else | |
359 "-mouse_dec", | |
360 # endif | |
361 # ifdef FEAT_MOUSE_GPM | |
362 "+mouse_gpm", | |
363 # else | |
364 "-mouse_gpm", | |
365 # endif | |
366 # ifdef FEAT_MOUSE_JSB | |
367 "+mouse_jsbterm", | |
368 # else | |
369 "-mouse_jsbterm", | |
370 # endif | |
371 # ifdef FEAT_MOUSE_NET | |
372 "+mouse_netterm", | |
373 # else | |
374 "-mouse_netterm", | |
375 # endif | |
376 #endif | |
3898 | 377 |
7 | 378 #ifdef __QNX__ |
379 # ifdef FEAT_MOUSE_PTERM | |
380 "+mouse_pterm", | |
381 # else | |
382 "-mouse_pterm", | |
383 # endif | |
384 #endif | |
3898 | 385 |
386 #if defined(UNIX) || defined(VMS) | |
387 # ifdef FEAT_MOUSE_SGR | |
388 "+mouse_sgr", | |
389 # else | |
390 "-mouse_sgr", | |
391 # endif | |
392 # ifdef FEAT_SYSMOUSE | |
393 "+mouse_sysmouse", | |
394 # else | |
395 "-mouse_sysmouse", | |
396 # endif | |
397 # ifdef FEAT_MOUSE_URXVT | |
398 "+mouse_urxvt", | |
399 # else | |
400 "-mouse_urxvt", | |
401 # endif | |
402 # ifdef FEAT_MOUSE_XTERM | |
403 "+mouse_xterm", | |
404 # else | |
405 "-mouse_xterm", | |
406 # endif | |
407 #endif | |
408 | |
7 | 409 #ifdef FEAT_MBYTE_IME |
410 # ifdef DYNAMIC_IME | |
411 "+multi_byte_ime/dyn", | |
412 # else | |
413 "+multi_byte_ime", | |
414 # endif | |
415 #else | |
416 # ifdef FEAT_MBYTE | |
417 "+multi_byte", | |
418 # else | |
419 "-multi_byte", | |
420 # endif | |
421 #endif | |
422 #ifdef FEAT_MULTI_LANG | |
423 "+multi_lang", | |
424 #else | |
425 "-multi_lang", | |
426 #endif | |
14 | 427 #ifdef FEAT_MZSCHEME |
132 | 428 # ifdef DYNAMIC_MZSCHEME |
429 "+mzscheme/dyn", | |
430 # else | |
14 | 431 "+mzscheme", |
132 | 432 # endif |
14 | 433 #else |
434 "-mzscheme", | |
435 #endif | |
7 | 436 #ifdef FEAT_NETBEANS_INTG |
437 "+netbeans_intg", | |
438 #else | |
439 "-netbeans_intg", | |
440 #endif | |
441 #ifdef FEAT_GUI_W32 | |
442 # ifdef FEAT_OLE | |
443 "+ole", | |
444 # else | |
445 "-ole", | |
446 # endif | |
447 #endif | |
448 #ifdef FEAT_PATH_EXTRA | |
449 "+path_extra", | |
450 #else | |
451 "-path_extra", | |
452 #endif | |
453 #ifdef FEAT_PERL | |
454 # ifdef DYNAMIC_PERL | |
455 "+perl/dyn", | |
456 # else | |
457 "+perl", | |
458 # endif | |
459 #else | |
460 "-perl", | |
461 #endif | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
462 #ifdef FEAT_PERSISTENT_UNDO |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
463 "+persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
464 #else |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
465 "-persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
466 #endif |
7 | 467 #ifdef FEAT_PRINTER |
468 # ifdef FEAT_POSTSCRIPT | |
469 "+postscript", | |
470 # else | |
471 "-postscript", | |
472 # endif | |
473 "+printer", | |
474 #else | |
475 "-printer", | |
476 #endif | |
170 | 477 #ifdef FEAT_PROFILE |
478 "+profile", | |
479 #else | |
480 "-profile", | |
481 #endif | |
7 | 482 #ifdef FEAT_PYTHON |
483 # ifdef DYNAMIC_PYTHON | |
484 "+python/dyn", | |
485 # else | |
486 "+python", | |
487 # endif | |
488 #else | |
489 "-python", | |
490 #endif | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
491 #ifdef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
492 # ifdef DYNAMIC_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
493 "+python3/dyn", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
494 # else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
495 "+python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
496 # endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
497 #else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
498 "-python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
499 #endif |
7 | 500 #ifdef FEAT_QUICKFIX |
501 "+quickfix", | |
502 #else | |
503 "-quickfix", | |
504 #endif | |
857 | 505 #ifdef FEAT_RELTIME |
506 "+reltime", | |
507 #else | |
508 "-reltime", | |
509 #endif | |
7 | 510 #ifdef FEAT_RIGHTLEFT |
511 "+rightleft", | |
512 #else | |
513 "-rightleft", | |
514 #endif | |
515 #ifdef FEAT_RUBY | |
516 # ifdef DYNAMIC_RUBY | |
517 "+ruby/dyn", | |
518 # else | |
519 "+ruby", | |
520 # endif | |
521 #else | |
522 "-ruby", | |
523 #endif | |
524 #ifdef FEAT_SCROLLBIND | |
525 "+scrollbind", | |
526 #else | |
527 "-scrollbind", | |
528 #endif | |
529 #ifdef FEAT_SIGNS | |
530 "+signs", | |
531 #else | |
532 "-signs", | |
533 #endif | |
534 #ifdef FEAT_SMARTINDENT | |
535 "+smartindent", | |
536 #else | |
537 "-smartindent", | |
538 #endif | |
539 #ifdef FEAT_SNIFF | |
540 "+sniff", | |
541 #else | |
542 "-sniff", | |
543 #endif | |
1989 | 544 #ifdef STARTUPTIME |
545 "+startuptime", | |
546 #else | |
547 "-startuptime", | |
548 #endif | |
7 | 549 #ifdef FEAT_STL_OPT |
550 "+statusline", | |
551 #else | |
552 "-statusline", | |
553 #endif | |
554 #ifdef FEAT_SUN_WORKSHOP | |
555 "+sun_workshop", | |
556 #else | |
557 "-sun_workshop", | |
558 #endif | |
559 #ifdef FEAT_SYN_HL | |
560 "+syntax", | |
561 #else | |
562 "-syntax", | |
563 #endif | |
564 /* only interesting on Unix systems */ | |
565 #if defined(USE_SYSTEM) && (defined(UNIX) || defined(__EMX__)) | |
566 "+system()", | |
567 #endif | |
568 #ifdef FEAT_TAG_BINS | |
569 "+tag_binary", | |
570 #else | |
571 "-tag_binary", | |
572 #endif | |
573 #ifdef FEAT_TAG_OLDSTATIC | |
574 "+tag_old_static", | |
575 #else | |
576 "-tag_old_static", | |
577 #endif | |
578 #ifdef FEAT_TAG_ANYWHITE | |
579 "+tag_any_white", | |
580 #else | |
581 "-tag_any_white", | |
582 #endif | |
583 #ifdef FEAT_TCL | |
584 # ifdef DYNAMIC_TCL | |
585 "+tcl/dyn", | |
586 # else | |
587 "+tcl", | |
588 # endif | |
589 #else | |
590 "-tcl", | |
591 #endif | |
592 #if defined(UNIX) || defined(__EMX__) | |
593 /* only Unix (or OS/2 with EMX!) can have terminfo instead of termcap */ | |
594 # ifdef TERMINFO | |
595 "+terminfo", | |
596 # else | |
597 "-terminfo", | |
598 # endif | |
599 #else /* unix always includes termcap support */ | |
600 # ifdef HAVE_TGETENT | |
601 "+tgetent", | |
602 # else | |
603 "-tgetent", | |
604 # endif | |
605 #endif | |
606 #ifdef FEAT_TERMRESPONSE | |
607 "+termresponse", | |
608 #else | |
609 "-termresponse", | |
610 #endif | |
611 #ifdef FEAT_TEXTOBJ | |
612 "+textobjects", | |
613 #else | |
614 "-textobjects", | |
615 #endif | |
616 #ifdef FEAT_TITLE | |
617 "+title", | |
618 #else | |
619 "-title", | |
620 #endif | |
621 #ifdef FEAT_TOOLBAR | |
622 "+toolbar", | |
623 #else | |
624 "-toolbar", | |
625 #endif | |
626 #ifdef FEAT_USR_CMDS | |
627 "+user_commands", | |
628 #else | |
629 "-user_commands", | |
630 #endif | |
631 #ifdef FEAT_VERTSPLIT | |
632 "+vertsplit", | |
633 #else | |
634 "-vertsplit", | |
635 #endif | |
636 #ifdef FEAT_VIRTUALEDIT | |
637 "+virtualedit", | |
638 #else | |
639 "-virtualedit", | |
640 #endif | |
641 #ifdef FEAT_VISUAL | |
642 "+visual", | |
643 # ifdef FEAT_VISUALEXTRA | |
644 "+visualextra", | |
645 # else | |
646 "-visualextra", | |
647 # endif | |
648 #else | |
649 "-visual", | |
650 #endif | |
651 #ifdef FEAT_VIMINFO | |
652 "+viminfo", | |
653 #else | |
654 "-viminfo", | |
655 #endif | |
656 #ifdef FEAT_VREPLACE | |
657 "+vreplace", | |
658 #else | |
659 "-vreplace", | |
660 #endif | |
661 #ifdef FEAT_WILDIGN | |
662 "+wildignore", | |
663 #else | |
664 "-wildignore", | |
665 #endif | |
666 #ifdef FEAT_WILDMENU | |
667 "+wildmenu", | |
668 #else | |
669 "-wildmenu", | |
670 #endif | |
671 #ifdef FEAT_WINDOWS | |
672 "+windows", | |
673 #else | |
674 "-windows", | |
675 #endif | |
676 #ifdef FEAT_WRITEBACKUP | |
677 "+writebackup", | |
678 #else | |
679 "-writebackup", | |
680 #endif | |
681 #if defined(UNIX) || defined(VMS) | |
682 # ifdef FEAT_X11 | |
683 "+X11", | |
684 # else | |
685 "-X11", | |
686 # endif | |
687 #endif | |
688 #ifdef FEAT_XFONTSET | |
689 "+xfontset", | |
690 #else | |
691 "-xfontset", | |
692 #endif | |
693 #ifdef FEAT_XIM | |
694 "+xim", | |
695 #else | |
696 "-xim", | |
697 #endif | |
698 #if defined(UNIX) || defined(VMS) | |
699 # ifdef USE_XSMP_INTERACT | |
700 "+xsmp_interact", | |
701 # else | |
702 # ifdef USE_XSMP | |
703 "+xsmp", | |
704 # else | |
705 "-xsmp", | |
706 # endif | |
707 # endif | |
708 # ifdef FEAT_XCLIPBOARD | |
709 "+xterm_clipboard", | |
710 # else | |
711 "-xterm_clipboard", | |
712 # endif | |
713 #endif | |
714 #ifdef FEAT_XTERM_SAVE | |
715 "+xterm_save", | |
716 #else | |
717 "-xterm_save", | |
718 #endif | |
719 #ifdef WIN3264 | |
720 # ifdef FEAT_XPM_W32 | |
721 "+xpm_w32", | |
722 # else | |
723 "-xpm_w32", | |
724 # endif | |
725 #endif | |
726 NULL | |
727 }; | |
728 | |
729 static int included_patches[] = | |
730 { /* Add new patch number below this line */ | |
731 /**/ | |
4244 | 732 873, |
733 /**/ | |
4242 | 734 872, |
735 /**/ | |
4240 | 736 871, |
737 /**/ | |
4238 | 738 870, |
739 /**/ | |
4236 | 740 869, |
741 /**/ | |
4234 | 742 868, |
743 /**/ | |
4232 | 744 867, |
745 /**/ | |
4230 | 746 866, |
747 /**/ | |
4227 | 748 865, |
749 /**/ | |
4225 | 750 864, |
751 /**/ | |
4223 | 752 863, |
753 /**/ | |
4221 | 754 862, |
755 /**/ | |
4219 | 756 861, |
757 /**/ | |
4217 | 758 860, |
759 /**/ | |
4215 | 760 859, |
761 /**/ | |
4213 | 762 858, |
763 /**/ | |
4211 | 764 857, |
765 /**/ | |
4209 | 766 856, |
767 /**/ | |
4207 | 768 855, |
769 /**/ | |
4205 | 770 854, |
771 /**/ | |
4203 | 772 853, |
773 /**/ | |
4201 | 774 852, |
775 /**/ | |
4199 | 776 851, |
777 /**/ | |
4197 | 778 850, |
779 /**/ | |
4195 | 780 849, |
781 /**/ | |
4193 | 782 848, |
783 /**/ | |
4191 | 784 847, |
785 /**/ | |
4189 | 786 846, |
787 /**/ | |
4187 | 788 845, |
789 /**/ | |
4184 | 790 844, |
791 /**/ | |
4182 | 792 843, |
793 /**/ | |
4180 | 794 842, |
795 /**/ | |
4178 | 796 841, |
797 /**/ | |
4176 | 798 840, |
799 /**/ | |
4174 | 800 839, |
801 /**/ | |
4172 | 802 838, |
803 /**/ | |
4170 | 804 837, |
805 /**/ | |
4168 | 806 836, |
807 /**/ | |
4166 | 808 835, |
809 /**/ | |
4164 | 810 834, |
811 /**/ | |
4162 | 812 833, |
813 /**/ | |
4160 | 814 832, |
815 /**/ | |
4157 | 816 831, |
817 /**/ | |
4155 | 818 830, |
819 /**/ | |
4153 | 820 829, |
821 /**/ | |
4151 | 822 828, |
823 /**/ | |
4149 | 824 827, |
825 /**/ | |
4147 | 826 826, |
827 /**/ | |
4145 | 828 825, |
829 /**/ | |
4143 | 830 824, |
831 /**/ | |
4141 | 832 823, |
833 /**/ | |
4139 | 834 822, |
835 /**/ | |
4137 | 836 821, |
837 /**/ | |
4135 | 838 820, |
839 /**/ | |
4133 | 840 819, |
841 /**/ | |
4131 | 842 818, |
843 /**/ | |
4129 | 844 817, |
845 /**/ | |
4126 | 846 816, |
847 /**/ | |
4124 | 848 815, |
849 /**/ | |
4122 | 850 814, |
851 /**/ | |
4120 | 852 813, |
853 /**/ | |
4117 | 854 812, |
855 /**/ | |
4115 | 856 811, |
857 /**/ | |
4113 | 858 810, |
859 /**/ | |
4111 | 860 809, |
861 /**/ | |
4109 | 862 808, |
863 /**/ | |
4107 | 864 807, |
865 /**/ | |
4105 | 866 806, |
867 /**/ | |
4103 | 868 805, |
869 /**/ | |
4101 | 870 804, |
871 /**/ | |
4099 | 872 803, |
873 /**/ | |
4096 | 874 802, |
875 /**/ | |
4094 | 876 801, |
877 /**/ | |
4092 | 878 800, |
879 /**/ | |
4090 | 880 799, |
881 /**/ | |
4088 | 882 798, |
883 /**/ | |
4086 | 884 797, |
885 /**/ | |
4084 | 886 796, |
887 /**/ | |
4082 | 888 795, |
889 /**/ | |
4080 | 890 794, |
891 /**/ | |
4078 | 892 793, |
893 /**/ | |
4076 | 894 792, |
895 /**/ | |
4074 | 896 791, |
897 /**/ | |
4071 | 898 790, |
899 /**/ | |
4069 | 900 789, |
901 /**/ | |
4067 | 902 788, |
903 /**/ | |
4065 | 904 787, |
905 /**/ | |
4063 | 906 786, |
907 /**/ | |
4061 | 908 785, |
909 /**/ | |
4059 | 910 784, |
911 /**/ | |
4057 | 912 783, |
913 /**/ | |
4055 | 914 782, |
915 /**/ | |
4053 | 916 781, |
917 /**/ | |
4051 | 918 780, |
919 /**/ | |
4049 | 920 779, |
921 /**/ | |
4047 | 922 778, |
923 /**/ | |
4045 | 924 777, |
925 /**/ | |
4043 | 926 776, |
927 /**/ | |
4041 | 928 775, |
929 /**/ | |
4039 | 930 774, |
931 /**/ | |
4037 | 932 773, |
933 /**/ | |
4035 | 934 772, |
935 /**/ | |
4033 | 936 771, |
937 /**/ | |
4031 | 938 770, |
939 /**/ | |
4029 | 940 769, |
941 /**/ | |
4027 | 942 768, |
943 /**/ | |
4025 | 944 767, |
945 /**/ | |
4023 | 946 766, |
947 /**/ | |
4021 | 948 765, |
949 /**/ | |
4019 | 950 764, |
951 /**/ | |
4017 | 952 763, |
953 /**/ | |
4015 | 954 762, |
955 /**/ | |
4013 | 956 761, |
957 /**/ | |
4011 | 958 760, |
959 /**/ | |
4009 | 960 759, |
961 /**/ | |
4007 | 962 758, |
963 /**/ | |
4005 | 964 757, |
965 /**/ | |
4003 | 966 756, |
967 /**/ | |
4001 | 968 755, |
969 /**/ | |
3999 | 970 754, |
971 /**/ | |
3997 | 972 753, |
973 /**/ | |
3994 | 974 752, |
975 /**/ | |
3992 | 976 751, |
977 /**/ | |
3990 | 978 750, |
979 /**/ | |
3988 | 980 749, |
981 /**/ | |
3986 | 982 748, |
983 /**/ | |
3984 | 984 747, |
985 /**/ | |
3982 | 986 746, |
987 /**/ | |
3980 | 988 745, |
989 /**/ | |
3978 | 990 744, |
991 /**/ | |
3976 | 992 743, |
993 /**/ | |
3974 | 994 742, |
995 /**/ | |
3972 | 996 741, |
997 /**/ | |
3970 | 998 740, |
999 /**/ | |
3968 | 1000 739, |
1001 /**/ | |
3965 | 1002 738, |
1003 /**/ | |
3963 | 1004 737, |
1005 /**/ | |
3961 | 1006 736, |
1007 /**/ | |
3959 | 1008 735, |
1009 /**/ | |
3957 | 1010 734, |
1011 /**/ | |
3955 | 1012 733, |
1013 /**/ | |
3953 | 1014 732, |
1015 /**/ | |
3951 | 1016 731, |
1017 /**/ | |
3949 | 1018 730, |
1019 /**/ | |
3947 | 1020 729, |
1021 /**/ | |
3945 | 1022 728, |
1023 /**/ | |
3943 | 1024 727, |
1025 /**/ | |
3941 | 1026 726, |
1027 /**/ | |
3939 | 1028 725, |
1029 /**/ | |
3937 | 1030 724, |
1031 /**/ | |
3935 | 1032 723, |
1033 /**/ | |
3933 | 1034 722, |
1035 /**/ | |
3931 | 1036 721, |
1037 /**/ | |
3929 | 1038 720, |
1039 /**/ | |
3927 | 1040 719, |
1041 /**/ | |
3925 | 1042 718, |
1043 /**/ | |
3923 | 1044 717, |
1045 /**/ | |
3921 | 1046 716, |
1047 /**/ | |
3918 | 1048 715, |
1049 /**/ | |
3916 | 1050 714, |
1051 /**/ | |
3914 | 1052 713, |
1053 /**/ | |
3912 | 1054 712, |
1055 /**/ | |
3910 | 1056 711, |
1057 /**/ | |
3908 | 1058 710, |
1059 /**/ | |
3906 | 1060 709, |
1061 /**/ | |
3904 | 1062 708, |
1063 /**/ | |
3902 | 1064 707, |
1065 /**/ | |
3900 | 1066 706, |
1067 /**/ | |
3898 | 1068 705, |
1069 /**/ | |
3896 | 1070 704, |
1071 /**/ | |
3894 | 1072 703, |
1073 /**/ | |
3891 | 1074 702, |
1075 /**/ | |
3889 | 1076 701, |
1077 /**/ | |
3887 | 1078 700, |
1079 /**/ | |
3885 | 1080 699, |
1081 /**/ | |
3883 | 1082 698, |
1083 /**/ | |
3881 | 1084 697, |
1085 /**/ | |
3879 | 1086 696, |
1087 /**/ | |
3877 | 1088 695, |
1089 /**/ | |
3875 | 1090 694, |
1091 /**/ | |
3873 | 1092 693, |
1093 /**/ | |
3871 | 1094 692, |
1095 /**/ | |
3869 | 1096 691, |
1097 /**/ | |
3867 | 1098 690, |
1099 /**/ | |
3865 | 1100 689, |
1101 /**/ | |
3863 | 1102 688, |
1103 /**/ | |
3861 | 1104 687, |
1105 /**/ | |
3859 | 1106 686, |
1107 /**/ | |
3857 | 1108 685, |
1109 /**/ | |
3855 | 1110 684, |
1111 /**/ | |
3852 | 1112 683, |
1113 /**/ | |
3850 | 1114 682, |
1115 /**/ | |
3848 | 1116 681, |
1117 /**/ | |
3845 | 1118 680, |
1119 /**/ | |
3843 | 1120 679, |
1121 /**/ | |
3841 | 1122 678, |
1123 /**/ | |
3839 | 1124 677, |
1125 /**/ | |
3837 | 1126 676, |
1127 /**/ | |
3835 | 1128 675, |
1129 /**/ | |
3833 | 1130 674, |
1131 /**/ | |
3831 | 1132 673, |
1133 /**/ | |
3828 | 1134 672, |
1135 /**/ | |
3826 | 1136 671, |
1137 /**/ | |
3824 | 1138 670, |
1139 /**/ | |
3822 | 1140 669, |
1141 /**/ | |
3820 | 1142 668, |
1143 /**/ | |
3818 | 1144 667, |
1145 /**/ | |
3816 | 1146 666, |
1147 /**/ | |
3814 | 1148 665, |
1149 /**/ | |
3812 | 1150 664, |
1151 /**/ | |
3810 | 1152 663, |
1153 /**/ | |
3808 | 1154 662, |
1155 /**/ | |
3806 | 1156 661, |
1157 /**/ | |
3804 | 1158 660, |
1159 /**/ | |
3802 | 1160 659, |
1161 /**/ | |
3800 | 1162 658, |
1163 /**/ | |
3798 | 1164 657, |
1165 /**/ | |
3796 | 1166 656, |
1167 /**/ | |
3794 | 1168 655, |
1169 /**/ | |
3792 | 1170 654, |
1171 /**/ | |
3790 | 1172 653, |
1173 /**/ | |
3788 | 1174 652, |
1175 /**/ | |
3786 | 1176 651, |
1177 /**/ | |
3784 | 1178 650, |
1179 /**/ | |
3782 | 1180 649, |
1181 /**/ | |
3780 | 1182 648, |
1183 /**/ | |
3778 | 1184 647, |
1185 /**/ | |
3776 | 1186 646, |
1187 /**/ | |
3774 | 1188 645, |
1189 /**/ | |
3772 | 1190 644, |
1191 /**/ | |
3770 | 1192 643, |
1193 /**/ | |
3768 | 1194 642, |
1195 /**/ | |
3766 | 1196 641, |
1197 /**/ | |
3764 | 1198 640, |
1199 /**/ | |
3762 | 1200 639, |
1201 /**/ | |
3759 | 1202 638, |
1203 /**/ | |
3757 | 1204 637, |
1205 /**/ | |
3755 | 1206 636, |
1207 /**/ | |
3753 | 1208 635, |
1209 /**/ | |
3751 | 1210 634, |
1211 /**/ | |
3748 | 1212 633, |
1213 /**/ | |
3746 | 1214 632, |
1215 /**/ | |
3744 | 1216 631, |
1217 /**/ | |
3742 | 1218 630, |
1219 /**/ | |
3740 | 1220 629, |
1221 /**/ | |
3738 | 1222 628, |
1223 /**/ | |
3736 | 1224 627, |
1225 /**/ | |
3734 | 1226 626, |
1227 /**/ | |
3732 | 1228 625, |
1229 /**/ | |
3730 | 1230 624, |
1231 /**/ | |
3728 | 1232 623, |
1233 /**/ | |
3726 | 1234 622, |
1235 /**/ | |
3724 | 1236 621, |
1237 /**/ | |
3722 | 1238 620, |
1239 /**/ | |
3720 | 1240 619, |
1241 /**/ | |
3718 | 1242 618, |
1243 /**/ | |
3716 | 1244 617, |
1245 /**/ | |
3714 | 1246 616, |
1247 /**/ | |
3711 | 1248 615, |
1249 /**/ | |
3709 | 1250 614, |
1251 /**/ | |
3707 | 1252 613, |
1253 /**/ | |
3705 | 1254 612, |
1255 /**/ | |
3703 | 1256 611, |
1257 /**/ | |
3701 | 1258 610, |
1259 /**/ | |
3699 | 1260 609, |
1261 /**/ | |
3697 | 1262 608, |
1263 /**/ | |
3695 | 1264 607, |
1265 /**/ | |
3693 | 1266 606, |
1267 /**/ | |
3691 | 1268 605, |
1269 /**/ | |
3689 | 1270 604, |
1271 /**/ | |
3687 | 1272 603, |
1273 /**/ | |
3685 | 1274 602, |
1275 /**/ | |
3683 | 1276 601, |
1277 /**/ | |
3680 | 1278 600, |
1279 /**/ | |
3678 | 1280 599, |
1281 /**/ | |
3676 | 1282 598, |
1283 /**/ | |
3674 | 1284 597, |
1285 /**/ | |
3672 | 1286 596, |
1287 /**/ | |
3670 | 1288 595, |
1289 /**/ | |
3668 | 1290 594, |
1291 /**/ | |
3666 | 1292 593, |
1293 /**/ | |
3664 | 1294 592, |
1295 /**/ | |
3662 | 1296 591, |
1297 /**/ | |
3660 | 1298 590, |
1299 /**/ | |
3658 | 1300 589, |
1301 /**/ | |
3656 | 1302 588, |
1303 /**/ | |
3654 | 1304 587, |
1305 /**/ | |
3652 | 1306 586, |
1307 /**/ | |
3650 | 1308 585, |
1309 /**/ | |
3648 | 1310 584, |
1311 /**/ | |
3646 | 1312 583, |
1313 /**/ | |
3644 | 1314 582, |
1315 /**/ | |
3642 | 1316 581, |
1317 /**/ | |
3640 | 1318 580, |
1319 /**/ | |
3638 | 1320 579, |
1321 /**/ | |
3636 | 1322 578, |
1323 /**/ | |
3634 | 1324 577, |
1325 /**/ | |
3632 | 1326 576, |
1327 /**/ | |
3630 | 1328 575, |
1329 /**/ | |
3628 | 1330 574, |
1331 /**/ | |
3626 | 1332 573, |
1333 /**/ | |
3624 | 1334 572, |
1335 /**/ | |
3622 | 1336 571, |
1337 /**/ | |
3620 | 1338 570, |
1339 /**/ | |
3618 | 1340 569, |
1341 /**/ | |
3616 | 1342 568, |
1343 /**/ | |
3614 | 1344 567, |
1345 /**/ | |
3612 | 1346 566, |
1347 /**/ | |
3610 | 1348 565, |
1349 /**/ | |
3608 | 1350 564, |
1351 /**/ | |
3606 | 1352 563, |
1353 /**/ | |
3604 | 1354 562, |
1355 /**/ | |
3602 | 1356 561, |
1357 /**/ | |
3600 | 1358 560, |
1359 /**/ | |
3598 | 1360 559, |
1361 /**/ | |
3596 | 1362 558, |
1363 /**/ | |
3594 | 1364 557, |
1365 /**/ | |
3592 | 1366 556, |
1367 /**/ | |
3590 | 1368 555, |
1369 /**/ | |
3588 | 1370 554, |
1371 /**/ | |
3586 | 1372 553, |
1373 /**/ | |
3584 | 1374 552, |
1375 /**/ | |
3582 | 1376 551, |
1377 /**/ | |
3580 | 1378 550, |
1379 /**/ | |
3578 | 1380 549, |
1381 /**/ | |
3576 | 1382 548, |
1383 /**/ | |
3574 | 1384 547, |
1385 /**/ | |
3572 | 1386 546, |
1387 /**/ | |
3570 | 1388 545, |
1389 /**/ | |
3568 | 1390 544, |
1391 /**/ | |
3566 | 1392 543, |
1393 /**/ | |
3564 | 1394 542, |
1395 /**/ | |
3562 | 1396 541, |
1397 /**/ | |
3560 | 1398 540, |
1399 /**/ | |
3558 | 1400 539, |
1401 /**/ | |
3555 | 1402 538, |
1403 /**/ | |
3553 | 1404 537, |
1405 /**/ | |
3551 | 1406 536, |
1407 /**/ | |
3549 | 1408 535, |
1409 /**/ | |
3547 | 1410 534, |
1411 /**/ | |
3545 | 1412 533, |
1413 /**/ | |
3543 | 1414 532, |
1415 /**/ | |
3541 | 1416 531, |
1417 /**/ | |
3539 | 1418 530, |
1419 /**/ | |
3537 | 1420 529, |
1421 /**/ | |
3535 | 1422 528, |
1423 /**/ | |
3533 | 1424 527, |
1425 /**/ | |
3531 | 1426 526, |
1427 /**/ | |
3529 | 1428 525, |
1429 /**/ | |
3527 | 1430 524, |
1431 /**/ | |
1432 523, | |
3524 | 1433 /**/ |
3522 | 1434 522, |
1435 /**/ | |
3520 | 1436 521, |
1437 /**/ | |
3518 | 1438 520, |
1439 /**/ | |
3516 | 1440 519, |
1441 /**/ | |
3514 | 1442 518, |
1443 /**/ | |
3510 | 1444 517, |
1445 /**/ | |
3508 | 1446 516, |
1447 /**/ | |
3505 | 1448 515, |
1449 /**/ | |
3503 | 1450 514, |
1451 /**/ | |
3501 | 1452 513, |
1453 /**/ | |
3499 | 1454 512, |
1455 /**/ | |
3497 | 1456 511, |
1457 /**/ | |
3494 | 1458 510, |
1459 /**/ | |
3490 | 1460 509, |
1461 /**/ | |
3488 | 1462 508, |
1463 /**/ | |
3486 | 1464 507, |
1465 /**/ | |
3484 | 1466 506, |
1467 /**/ | |
3482 | 1468 505, |
1469 /**/ | |
3480 | 1470 504, |
1471 /**/ | |
3478 | 1472 503, |
1473 /**/ | |
3476 | 1474 502, |
1475 /**/ | |
3474 | 1476 501, |
1477 /**/ | |
3472 | 1478 500, |
1479 /**/ | |
3470 | 1480 499, |
1481 /**/ | |
3468 | 1482 498, |
1483 /**/ | |
3466 | 1484 497, |
1485 /**/ | |
3463 | 1486 496, |
1487 /**/ | |
3461 | 1488 495, |
1489 /**/ | |
3459 | 1490 494, |
1491 /**/ | |
3457 | 1492 493, |
1493 /**/ | |
3454 | 1494 492, |
1495 /**/ | |
3452 | 1496 491, |
1497 /**/ | |
3450 | 1498 490, |
1499 /**/ | |
3448 | 1500 489, |
1501 /**/ | |
3446 | 1502 488, |
1503 /**/ | |
3443 | 1504 487, |
1505 /**/ | |
3441 | 1506 486, |
1507 /**/ | |
3439 | 1508 485, |
1509 /**/ | |
3437 | 1510 484, |
1511 /**/ | |
3435 | 1512 483, |
1513 /**/ | |
3433 | 1514 482, |
1515 /**/ | |
3431 | 1516 481, |
1517 /**/ | |
3429 | 1518 480, |
1519 /**/ | |
3427 | 1520 479, |
1521 /**/ | |
3425 | 1522 478, |
1523 /**/ | |
3423 | 1524 477, |
1525 /**/ | |
3421 | 1526 476, |
1527 /**/ | |
3419 | 1528 475, |
1529 /**/ | |
3417 | 1530 474, |
1531 /**/ | |
3415 | 1532 473, |
1533 /**/ | |
3413 | 1534 472, |
1535 /**/ | |
3411 | 1536 471, |
1537 /**/ | |
3408 | 1538 470, |
1539 /**/ | |
3406 | 1540 469, |
1541 /**/ | |
3404 | 1542 468, |
1543 /**/ | |
3402 | 1544 467, |
1545 /**/ | |
3400 | 1546 466, |
1547 /**/ | |
3398 | 1548 465, |
3396 | 1549 /**/ |
1550 464, | |
1551 /**/ | |
3394 | 1552 463, |
1553 /**/ | |
3392 | 1554 462, |
1555 /**/ | |
3390 | 1556 461, |
1557 /**/ | |
3388 | 1558 460, |
1559 /**/ | |
3386 | 1560 459, |
1561 /**/ | |
3384 | 1562 458, |
1563 /**/ | |
3382 | 1564 457, |
1565 /**/ | |
3380 | 1566 456, |
1567 /**/ | |
3378 | 1568 455, |
1569 /**/ | |
3376 | 1570 454, |
1571 /**/ | |
3374 | 1572 453, |
1573 /**/ | |
3372 | 1574 452, |
1575 /**/ | |
3369 | 1576 451, |
1577 /**/ | |
3367 | 1578 450, |
1579 /**/ | |
3365 | 1580 449, |
1581 /**/ | |
3363 | 1582 448, |
1583 /**/ | |
3361 | 1584 447, |
1585 /**/ | |
3359 | 1586 446, |
1587 /**/ | |
3357 | 1588 445, |
1589 /**/ | |
3354 | 1590 444, |
1591 /**/ | |
3352 | 1592 443, |
1593 /**/ | |
3350 | 1594 442, |
1595 /**/ | |
3348 | 1596 441, |
1597 /**/ | |
3346 | 1598 440, |
1599 /**/ | |
3344 | 1600 439, |
1601 /**/ | |
3342 | 1602 438, |
1603 /**/ | |
3340 | 1604 437, |
1605 /**/ | |
3338 | 1606 436, |
1607 /**/ | |
3336 | 1608 435, |
1609 /**/ | |
3334 | 1610 434, |
1611 /**/ | |
3332 | 1612 433, |
1613 /**/ | |
3330 | 1614 432, |
1615 /**/ | |
3328 | 1616 431, |
1617 /**/ | |
3326 | 1618 430, |
1619 /**/ | |
3324 | 1620 429, |
1621 /**/ | |
3322 | 1622 428, |
1623 /**/ | |
3320 | 1624 427, |
1625 /**/ | |
3318 | 1626 426, |
1627 /**/ | |
3316 | 1628 425, |
1629 /**/ | |
3314 | 1630 424, |
1631 /**/ | |
3312 | 1632 423, |
1633 /**/ | |
3310 | 1634 422, |
1635 /**/ | |
3308 | 1636 421, |
1637 /**/ | |
3306 | 1638 420, |
1639 /**/ | |
3304 | 1640 419, |
1641 /**/ | |
3302 | 1642 418, |
1643 /**/ | |
3300 | 1644 417, |
1645 /**/ | |
3298 | 1646 416, |
1647 /**/ | |
3294 | 1648 415, |
1649 /**/ | |
3292 | 1650 414, |
1651 /**/ | |
3290 | 1652 413, |
1653 /**/ | |
3288 | 1654 412, |
1655 /**/ | |
3286 | 1656 411, |
1657 /**/ | |
3284 | 1658 410, |
1659 /**/ | |
3282 | 1660 409, |
1661 /**/ | |
3279 | 1662 408, |
1663 /**/ | |
3277 | 1664 407, |
1665 /**/ | |
3275 | 1666 406, |
1667 /**/ | |
3273 | 1668 405, |
1669 /**/ | |
3271 | 1670 404, |
1671 /**/ | |
3269 | 1672 403, |
1673 /**/ | |
3267 | 1674 402, |
1675 /**/ | |
3265 | 1676 401, |
1677 /**/ | |
3263 | 1678 400, |
1679 /**/ | |
3261 | 1680 399, |
1681 /**/ | |
3259 | 1682 398, |
1683 /**/ | |
3257 | 1684 397, |
1685 /**/ | |
3254 | 1686 396, |
1687 /**/ | |
3252 | 1688 395, |
1689 /**/ | |
3250 | 1690 394, |
1691 /**/ | |
3248 | 1692 393, |
1693 /**/ | |
3246 | 1694 392, |
1695 /**/ | |
3244 | 1696 391, |
1697 /**/ | |
3242 | 1698 390, |
1699 /**/ | |
3240 | 1700 389, |
1701 /**/ | |
3238 | 1702 388, |
1703 /**/ | |
3235 | 1704 387, |
1705 /**/ | |
3233 | 1706 386, |
1707 /**/ | |
3231 | 1708 385, |
1709 /**/ | |
3229 | 1710 384, |
1711 /**/ | |
3227 | 1712 383, |
1713 /**/ | |
3225 | 1714 382, |
1715 /**/ | |
3222 | 1716 381, |
1717 /**/ | |
3220 | 1718 380, |
1719 /**/ | |
3218 | 1720 379, |
1721 /**/ | |
3216 | 1722 378, |
1723 /**/ | |
3214 | 1724 377, |
1725 /**/ | |
3212 | 1726 376, |
1727 /**/ | |
3210 | 1728 375, |
1729 /**/ | |
3208 | 1730 374, |
1731 /**/ | |
3206 | 1732 373, |
1733 /**/ | |
3204 | 1734 372, |
1735 /**/ | |
3202 | 1736 371, |
1737 /**/ | |
3200 | 1738 370, |
1739 /**/ | |
3198 | 1740 369, |
1741 /**/ | |
3196 | 1742 368, |
1743 /**/ | |
3194 | 1744 367, |
1745 /**/ | |
3192 | 1746 366, |
1747 /**/ | |
3190 | 1748 365, |
1749 /**/ | |
3188 | 1750 364, |
1751 /**/ | |
3186 | 1752 363, |
1753 /**/ | |
3184 | 1754 362, |
1755 /**/ | |
3182 | 1756 361, |
1757 /**/ | |
3180 | 1758 360, |
1759 /**/ | |
3178 | 1760 359, |
1761 /**/ | |
3176 | 1762 358, |
1763 /**/ | |
3174 | 1764 357, |
1765 /**/ | |
3172 | 1766 356, |
1767 /**/ | |
3170 | 1768 355, |
1769 /**/ | |
3168 | 1770 354, |
1771 /**/ | |
3166 | 1772 353, |
1773 /**/ | |
3164 | 1774 352, |
1775 /**/ | |
3162 | 1776 351, |
1777 /**/ | |
3160 | 1778 350, |
1779 /**/ | |
3158 | 1780 349, |
1781 /**/ | |
3156 | 1782 348, |
1783 /**/ | |
3154 | 1784 347, |
1785 /**/ | |
3151 | 1786 346, |
1787 /**/ | |
3149 | 1788 345, |
1789 /**/ | |
3147 | 1790 344, |
1791 /**/ | |
3145 | 1792 343, |
1793 /**/ | |
3143 | 1794 342, |
1795 /**/ | |
3141 | 1796 341, |
1797 /**/ | |
3139 | 1798 340, |
1799 /**/ | |
3137 | 1800 339, |
1801 /**/ | |
3135 | 1802 338, |
1803 /**/ | |
3133 | 1804 337, |
1805 /**/ | |
3131 | 1806 336, |
1807 /**/ | |
3129 | 1808 335, |
1809 /**/ | |
3127 | 1810 334, |
1811 /**/ | |
3125 | 1812 333, |
1813 /**/ | |
3123 | 1814 332, |
1815 /**/ | |
3121 | 1816 331, |
1817 /**/ | |
3119 | 1818 330, |
1819 /**/ | |
3116 | 1820 329, |
1821 /**/ | |
3114 | 1822 328, |
1823 /**/ | |
3112 | 1824 327, |
1825 /**/ | |
3110 | 1826 326, |
1827 /**/ | |
3108 | 1828 325, |
1829 /**/ | |
3106 | 1830 324, |
1831 /**/ | |
3104 | 1832 323, |
1833 /**/ | |
3102 | 1834 322, |
1835 /**/ | |
3100 | 1836 321, |
1837 /**/ | |
3097 | 1838 320, |
1839 /**/ | |
3095 | 1840 319, |
1841 /**/ | |
3093 | 1842 318, |
1843 /**/ | |
3091 | 1844 317, |
1845 /**/ | |
3089 | 1846 316, |
1847 /**/ | |
3087 | 1848 315, |
1849 /**/ | |
3085 | 1850 314, |
1851 /**/ | |
3083 | 1852 313, |
1853 /**/ | |
3080 | 1854 312, |
1855 /**/ | |
3078 | 1856 311, |
1857 /**/ | |
3076 | 1858 310, |
1859 /**/ | |
3074 | 1860 309, |
1861 /**/ | |
3072 | 1862 308, |
1863 /**/ | |
3070 | 1864 307, |
1865 /**/ | |
3068 | 1866 306, |
1867 /**/ | |
3066 | 1868 305, |
1869 /**/ | |
3064 | 1870 304, |
1871 /**/ | |
3062 | 1872 303, |
1873 /**/ | |
3060 | 1874 302, |
1875 /**/ | |
3058 | 1876 301, |
1877 /**/ | |
3056 | 1878 300, |
1879 /**/ | |
3054 | 1880 299, |
1881 /**/ | |
3052 | 1882 298, |
1883 /**/ | |
3050 | 1884 297, |
1885 /**/ | |
3048 | 1886 296, |
1887 /**/ | |
3046 | 1888 295, |
1889 /**/ | |
3044 | 1890 294, |
1891 /**/ | |
3042 | 1892 293, |
1893 /**/ | |
3040 | 1894 292, |
1895 /**/ | |
3038 | 1896 291, |
1897 /**/ | |
3036 | 1898 290, |
1899 /**/ | |
3034 | 1900 289, |
1901 /**/ | |
3032 | 1902 288, |
1903 /**/ | |
3030 | 1904 287, |
1905 /**/ | |
3028 | 1906 286, |
1907 /**/ | |
3026 | 1908 285, |
1909 /**/ | |
3024 | 1910 284, |
1911 /**/ | |
3022 | 1912 283, |
1913 /**/ | |
3020 | 1914 282, |
1915 /**/ | |
3018 | 1916 281, |
1917 /**/ | |
3016 | 1918 280, |
1919 /**/ | |
3014 | 1920 279, |
1921 /**/ | |
3012 | 1922 278, |
1923 /**/ | |
3010 | 1924 277, |
1925 /**/ | |
3008 | 1926 276, |
1927 /**/ | |
3006 | 1928 275, |
1929 /**/ | |
3004 | 1930 274, |
1931 /**/ | |
3002 | 1932 273, |
1933 /**/ | |
3000 | 1934 272, |
1935 /**/ | |
2998 | 1936 271, |
1937 /**/ | |
2996 | 1938 270, |
1939 /**/ | |
2994 | 1940 269, |
1941 /**/ | |
2992 | 1942 268, |
1943 /**/ | |
2990 | 1944 267, |
1945 /**/ | |
2988 | 1946 266, |
1947 /**/ | |
2986 | 1948 265, |
1949 /**/ | |
2984 | 1950 264, |
1951 /**/ | |
2982 | 1952 263, |
1953 /**/ | |
2980 | 1954 262, |
1955 /**/ | |
2978 | 1956 261, |
1957 /**/ | |
2976 | 1958 260, |
1959 /**/ | |
2974 | 1960 259, |
1961 /**/ | |
2972 | 1962 258, |
1963 /**/ | |
2970 | 1964 257, |
1965 /**/ | |
2968 | 1966 256, |
1967 /**/ | |
2966 | 1968 255, |
1969 /**/ | |
2963 | 1970 254, |
1971 /**/ | |
2961 | 1972 253, |
1973 /**/ | |
2959 | 1974 252, |
1975 /**/ | |
2957 | 1976 251, |
1977 /**/ | |
2955 | 1978 250, |
1979 /**/ | |
2953 | 1980 249, |
1981 /**/ | |
2951 | 1982 248, |
1983 /**/ | |
2949 | 1984 247, |
1985 /**/ | |
2947 | 1986 246, |
1987 /**/ | |
2945 | 1988 245, |
1989 /**/ | |
2943 | 1990 244, |
1991 /**/ | |
2941 | 1992 243, |
1993 /**/ | |
2939 | 1994 242, |
1995 /**/ | |
2937 | 1996 241, |
1997 /**/ | |
2935 | 1998 240, |
1999 /**/ | |
2933 | 2000 239, |
2001 /**/ | |
2931 | 2002 238, |
2003 /**/ | |
2929 | 2004 237, |
2005 /**/ | |
2927 | 2006 236, |
2007 /**/ | |
2925 | 2008 235, |
2009 /**/ | |
2923 | 2010 234, |
2011 /**/ | |
2921 | 2012 233, |
2013 /**/ | |
2919 | 2014 232, |
2015 /**/ | |
2917 | 2016 231, |
2017 /**/ | |
2915 | 2018 230, |
2019 /**/ | |
2913 | 2020 229, |
2021 /**/ | |
2911 | 2022 228, |
2023 /**/ | |
2909 | 2024 227, |
2025 /**/ | |
2906 | 2026 226, |
2027 /**/ | |
2904 | 2028 225, |
2029 /**/ | |
2902 | 2030 224, |
2031 /**/ | |
2900 | 2032 223, |
2033 /**/ | |
2898 | 2034 222, |
2035 /**/ | |
2896 | 2036 221, |
2037 /**/ | |
2894 | 2038 220, |
2039 /**/ | |
2891 | 2040 219, |
2041 /**/ | |
2889 | 2042 218, |
2043 /**/ | |
2887 | 2044 217, |
2045 /**/ | |
2885 | 2046 216, |
2047 /**/ | |
2883 | 2048 215, |
2049 /**/ | |
2881 | 2050 214, |
2051 /**/ | |
2879 | 2052 213, |
2053 /**/ | |
2877 | 2054 212, |
2055 /**/ | |
2875 | 2056 211, |
2057 /**/ | |
2873 | 2058 210, |
2059 /**/ | |
2871 | 2060 209, |
2061 /**/ | |
2869 | 2062 208, |
2063 /**/ | |
2867 | 2064 207, |
2065 /**/ | |
2865 | 2066 206, |
2067 /**/ | |
2863 | 2068 205, |
2069 /**/ | |
2861 | 2070 204, |
2071 /**/ | |
2859 | 2072 203, |
2073 /**/ | |
2857 | 2074 202, |
2075 /**/ | |
2855 | 2076 201, |
2077 /**/ | |
2853 | 2078 200, |
2079 /**/ | |
2851 | 2080 199, |
2081 /**/ | |
2849 | 2082 198, |
2083 /**/ | |
2847 | 2084 197, |
2085 /**/ | |
2845 | 2086 196, |
2087 /**/ | |
2843 | 2088 195, |
2089 /**/ | |
2841 | 2090 194, |
2091 /**/ | |
2839 | 2092 193, |
2093 /**/ | |
2837 | 2094 192, |
2095 /**/ | |
2834 | 2096 191, |
2097 /**/ | |
2831 | 2098 190, |
2099 /**/ | |
2829 | 2100 189, |
2101 /**/ | |
2827 | 2102 188, |
2103 /**/ | |
2823 | 2104 187, |
2105 /**/ | |
2821 | 2106 186, |
2107 /**/ | |
2819 | 2108 185, |
2109 /**/ | |
2817 | 2110 184, |
2111 /**/ | |
2815 | 2112 183, |
2113 /**/ | |
2813 | 2114 182, |
2115 /**/ | |
2811 | 2116 181, |
2117 /**/ | |
2809 | 2118 180, |
2119 /**/ | |
2807 | 2120 179, |
2121 /**/ | |
2805 | 2122 178, |
2123 /**/ | |
2803 | 2124 177, |
2125 /**/ | |
2801 | 2126 176, |
2127 /**/ | |
2799 | 2128 175, |
2129 /**/ | |
2797 | 2130 174, |
2131 /**/ | |
2795 | 2132 173, |
2133 /**/ | |
2793 | 2134 172, |
2135 /**/ | |
2791 | 2136 171, |
2137 /**/ | |
2789 | 2138 170, |
2139 /**/ | |
2786 | 2140 169, |
2141 /**/ | |
2784 | 2142 168, |
2143 /**/ | |
2782 | 2144 167, |
2145 /**/ | |
2780 | 2146 166, |
2147 /**/ | |
2778 | 2148 165, |
2149 /**/ | |
2776 | 2150 164, |
2151 /**/ | |
2774 | 2152 163, |
2153 /**/ | |
2772 | 2154 162, |
2155 /**/ | |
2770 | 2156 161, |
2157 /**/ | |
2768 | 2158 160, |
2159 /**/ | |
2766 | 2160 159, |
2161 /**/ | |
2764 | 2162 158, |
2163 /**/ | |
2762 | 2164 157, |
2165 /**/ | |
2760 | 2166 156, |
2167 /**/ | |
2758 | 2168 155, |
2169 /**/ | |
2756 | 2170 154, |
2171 /**/ | |
2754 | 2172 153, |
2173 /**/ | |
2752 | 2174 152, |
2175 /**/ | |
2749 | 2176 151, |
2177 /**/ | |
2747 | 2178 150, |
2179 /**/ | |
2745 | 2180 149, |
2181 /**/ | |
2743 | 2182 148, |
2183 /**/ | |
2741 | 2184 147, |
2185 /**/ | |
2739 | 2186 146, |
2187 /**/ | |
2737 | 2188 145, |
2189 /**/ | |
2735 | 2190 144, |
2191 /**/ | |
2730 | 2192 143, |
2193 /**/ | |
2727 | 2194 142, |
2195 /**/ | |
2726 | 2196 141, |
2197 /**/ | |
2724 | 2198 140, |
2199 /**/ | |
2723 | 2200 139, |
2201 /**/ | |
2722 | 2202 138, |
2203 /**/ | |
2721 | 2204 137, |
2205 /**/ | |
2720 | 2206 136, |
2207 /**/ | |
2719 | 2208 135, |
2209 /**/ | |
2718 | 2210 134, |
2211 /**/ | |
2717 | 2212 133, |
2213 /**/ | |
2716 | 2214 132, |
2215 /**/ | |
2715 | 2216 131, |
2217 /**/ | |
2714 | 2218 130, |
2219 /**/ | |
2713 | 2220 129, |
2221 /**/ | |
2712 | 2222 128, |
2223 /**/ | |
2711 | 2224 127, |
2225 /**/ | |
2710 | 2226 126, |
2227 /**/ | |
2708 | 2228 125, |
2229 /**/ | |
2707 | 2230 124, |
2231 /**/ | |
2706 | 2232 123, |
2233 /**/ | |
2705 | 2234 122, |
2235 /**/ | |
2704 | 2236 121, |
2237 /**/ | |
2703 | 2238 120, |
2239 /**/ | |
2702 | 2240 119, |
2241 /**/ | |
2701 | 2242 118, |
2243 /**/ | |
2700 | 2244 117, |
2245 /**/ | |
2699 | 2246 116, |
2247 /**/ | |
2697 | 2248 115, |
2249 /**/ | |
2696 | 2250 114, |
2251 /**/ | |
2695 | 2252 113, |
2253 /**/ | |
2694 | 2254 112, |
2255 /**/ | |
2693 | 2256 111, |
2257 /**/ | |
2692 | 2258 110, |
2259 /**/ | |
2691 | 2260 109, |
2261 /**/ | |
2690 | 2262 108, |
2263 /**/ | |
2689 | 2264 107, |
2265 /**/ | |
2688 | 2266 106, |
2267 /**/ | |
2687 | 2268 105, |
2269 /**/ | |
2686 | 2270 104, |
2271 /**/ | |
2685 | 2272 103, |
2273 /**/ | |
2684 | 2274 102, |
2275 /**/ | |
2683 | 2276 101, |
2277 /**/ | |
2682 | 2278 100, |
2279 /**/ | |
2680 | 2280 99, |
2281 /**/ | |
2679 | 2282 98, |
2283 /**/ | |
2678 | 2284 97, |
2285 /**/ | |
2677 | 2286 96, |
2287 /**/ | |
2676 | 2288 95, |
2289 /**/ | |
2675 | 2290 94, |
2291 /**/ | |
2674 | 2292 93, |
2293 /**/ | |
2673 | 2294 92, |
2295 /**/ | |
2672 | 2296 91, |
2297 /**/ | |
2671 | 2298 90, |
2299 /**/ | |
2670 | 2300 89, |
2301 /**/ | |
2669 | 2302 88, |
2303 /**/ | |
2668 | 2304 87, |
2305 /**/ | |
2667 | 2306 86, |
2307 /**/ | |
2666 | 2308 85, |
2309 /**/ | |
2665 | 2310 84, |
2311 /**/ | |
2664 | 2312 83, |
2313 /**/ | |
2663 | 2314 82, |
2315 /**/ | |
2661 | 2316 81, |
2317 /**/ | |
2660 | 2318 80, |
2319 /**/ | |
2659 | 2320 79, |
2321 /**/ | |
2658 | 2322 78, |
2323 /**/ | |
2657 | 2324 77, |
2325 /**/ | |
2656 | 2326 76, |
2327 /**/ | |
2655 | 2328 75, |
2329 /**/ | |
2654 | 2330 74, |
2331 /**/ | |
2653 | 2332 73, |
2333 /**/ | |
2652 | 2334 72, |
2335 /**/ | |
2651 | 2336 71, |
2337 /**/ | |
2650 | 2338 70, |
2339 /**/ | |
2649 | 2340 69, |
2341 /**/ | |
2648 | 2342 68, |
2343 /**/ | |
2647 | 2344 67, |
2345 /**/ | |
2646 | 2346 66, |
2347 /**/ | |
2645 | 2348 65, |
2349 /**/ | |
2644 | 2350 64, |
2351 /**/ | |
2643 | 2352 63, |
2353 /**/ | |
2641 | 2354 62, |
2355 /**/ | |
2640 | 2356 61, |
2357 /**/ | |
2639 | 2358 60, |
2359 /**/ | |
2638 | 2360 59, |
2361 /**/ | |
2637 | 2362 58, |
2363 /**/ | |
2636 | 2364 57, |
2365 /**/ | |
2635 | 2366 56, |
2367 /**/ | |
2634 | 2368 55, |
2369 /**/ | |
2633 | 2370 54, |
2371 /**/ | |
2632 | 2372 53, |
2373 /**/ | |
2631 | 2374 52, |
2375 /**/ | |
2630 | 2376 51, |
2377 /**/ | |
2629 | 2378 50, |
2379 /**/ | |
2628 | 2380 49, |
2381 /**/ | |
2627 | 2382 48, |
2383 /**/ | |
2626 | 2384 47, |
2385 /**/ | |
2624 | 2386 46, |
2387 /**/ | |
2623 | 2388 45, |
2389 /**/ | |
2622 | 2390 44, |
2391 /**/ | |
2621 | 2392 43, |
2393 /**/ | |
2620 | 2394 42, |
2395 /**/ | |
2619 | 2396 41, |
2397 /**/ | |
2618 | 2398 40, |
2399 /**/ | |
2617 | 2400 39, |
2401 /**/ | |
2616 | 2402 38, |
2403 /**/ | |
2615 | 2404 37, |
2405 /**/ | |
2614 | 2406 36, |
2407 /**/ | |
2613 | 2408 35, |
2409 /**/ | |
2612 | 2410 34, |
2411 /**/ | |
2611 | 2412 33, |
2413 /**/ | |
2610 | 2414 32, |
2415 /**/ | |
2609 | 2416 31, |
2417 /**/ | |
2607 | 2418 30, |
2419 /**/ | |
2606 | 2420 29, |
2421 /**/ | |
2605 | 2422 28, |
2423 /**/ | |
2604 | 2424 27, |
2425 /**/ | |
2603 | 2426 26, |
2427 /**/ | |
2602 | 2428 25, |
2429 /**/ | |
2601 | 2430 24, |
2431 /**/ | |
2600 | 2432 23, |
2433 /**/ | |
2599 | 2434 22, |
2435 /**/ | |
2598 | 2436 21, |
2437 /**/ | |
2597 | 2438 20, |
2439 /**/ | |
2595 | 2440 19, |
2441 /**/ | |
2594 | 2442 18, |
2443 /**/ | |
2593 | 2444 17, |
2445 /**/ | |
2592 | 2446 16, |
2447 /**/ | |
2591 | 2448 15, |
2449 /**/ | |
2590 | 2450 14, |
2451 /**/ | |
2589 | 2452 13, |
2453 /**/ | |
2588 | 2454 12, |
2455 /**/ | |
2586 | 2456 11, |
2457 /**/ | |
2585 | 2458 10, |
2459 /**/ | |
2584 | 2460 9, |
2461 /**/ | |
2583 | 2462 8, |
2463 /**/ | |
2582 | 2464 7, |
2465 /**/ | |
2580 | 2466 6, |
2467 /**/ | |
2579 | 2468 5, |
2469 /**/ | |
2578 | 2470 4, |
2471 /**/ | |
2165
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2472 3, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2473 /**/ |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2474 2, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2475 /**/ |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2476 1, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2477 /**/ |
7 | 2478 0 |
2479 }; | |
2480 | |
1760 | 2481 /* |
2482 * Place to put a short description when adding a feature with a patch. | |
2483 * Keep it short, e.g.,: "relative numbers", "persistent undo". | |
2484 * Also add a comment marker to separate the lines. | |
2485 * See the official Vim patches for the diff format: It must use a context of | |
1777 | 2486 * one line only. Create it by hand or use "diff -C2" and edit the patch. |
1760 | 2487 */ |
2488 static char *(extra_patches[]) = | |
2489 { /* Add your patch description below this line */ | |
2490 /**/ | |
2491 NULL | |
2492 }; | |
2493 | |
7 | 2494 int |
2495 highest_patch() | |
2496 { | |
2497 int i; | |
2498 int h = 0; | |
2499 | |
2500 for (i = 0; included_patches[i] != 0; ++i) | |
2501 if (included_patches[i] > h) | |
2502 h = included_patches[i]; | |
2503 return h; | |
2504 } | |
2505 | |
2506 #if defined(FEAT_EVAL) || defined(PROTO) | |
2507 /* | |
2508 * Return TRUE if patch "n" has been included. | |
2509 */ | |
2510 int | |
2511 has_patch(n) | |
2512 int n; | |
2513 { | |
2514 int i; | |
2515 | |
2516 for (i = 0; included_patches[i] != 0; ++i) | |
2517 if (included_patches[i] == n) | |
2518 return TRUE; | |
2519 return FALSE; | |
2520 } | |
2521 #endif | |
2522 | |
2523 void | |
2524 ex_version(eap) | |
2525 exarg_T *eap; | |
2526 { | |
2527 /* | |
2528 * Ignore a ":version 9.99" command. | |
2529 */ | |
2530 if (*eap->arg == NUL) | |
2531 { | |
2532 msg_putchar('\n'); | |
2533 list_version(); | |
2534 } | |
2535 } | |
2536 | |
4147 | 2537 /* |
2538 * List all features aligned in columns, dictionary style. | |
2539 */ | |
2540 static void | |
2541 list_features() | |
2542 { | |
2543 int i; | |
2544 int ncol; | |
2545 int nrow; | |
2546 int nfeat = 0; | |
2547 int width = 0; | |
2548 | |
2549 /* Find the length of the longest feature name, use that + 1 as the column | |
2550 * width */ | |
2551 for (i = 0; features[i] != NULL; ++i) | |
2552 { | |
4160 | 2553 int l = (int)STRLEN(features[i]); |
4147 | 2554 |
2555 if (l > width) | |
2556 width = l; | |
2557 ++nfeat; | |
2558 } | |
2559 width += 1; | |
2560 | |
2561 if (Columns < width) | |
2562 { | |
2563 /* Not enough screen columns - show one per line */ | |
2564 for (i = 0; features[i] != NULL; ++i) | |
2565 { | |
2566 version_msg(features[i]); | |
2567 if (msg_col > 0) | |
2568 msg_putchar('\n'); | |
2569 } | |
2570 return; | |
2571 } | |
2572 | |
2573 /* The rightmost column doesn't need a separator. | |
2574 * Sacrifice it to fit in one more column if possible. */ | |
4170 | 2575 ncol = (int) (Columns + 1) / width; |
4147 | 2576 nrow = nfeat / ncol + (nfeat % ncol ? 1 : 0); |
2577 | |
4170 | 2578 /* i counts columns then rows. idx counts rows then columns. */ |
4147 | 2579 for (i = 0; !got_int && i < nrow * ncol; ++i) |
2580 { | |
2581 int idx = (i / ncol) + (i % ncol) * nrow; | |
2582 | |
2583 if (idx < nfeat) | |
2584 { | |
2585 int last_col = (i + 1) % ncol == 0; | |
2586 | |
2587 msg_puts((char_u *)features[idx]); | |
2588 if (last_col) | |
2589 { | |
2590 if (msg_col > 0) | |
2591 msg_putchar('\n'); | |
2592 } | |
2593 else | |
2594 { | |
2595 while (msg_col % width) | |
2596 msg_putchar(' '); | |
2597 } | |
2598 } | |
2599 else | |
4170 | 2600 { |
2601 if (msg_col > 0) | |
2602 msg_putchar('\n'); | |
2603 } | |
4147 | 2604 } |
2605 } | |
4160 | 2606 |
7 | 2607 void |
2608 list_version() | |
2609 { | |
2610 int i; | |
2611 int first; | |
2612 char *s = ""; | |
2613 | |
2614 /* | |
2615 * When adding features here, don't forget to update the list of | |
2616 * internal variables in eval.c! | |
2617 */ | |
2618 MSG(longVersion); | |
2619 #ifdef WIN3264 | |
2620 # ifdef FEAT_GUI_W32 | |
2621 # if defined(_MSC_VER) && (_MSC_VER <= 1010) | |
2622 /* Only MS VC 4.1 and earlier can do Win32s */ | |
1607 | 2623 MSG_PUTS(_("\nMS-Windows 16/32-bit GUI version")); |
7 | 2624 # else |
990 | 2625 # ifdef _WIN64 |
1607 | 2626 MSG_PUTS(_("\nMS-Windows 64-bit GUI version")); |
990 | 2627 # else |
1607 | 2628 MSG_PUTS(_("\nMS-Windows 32-bit GUI version")); |
990 | 2629 # endif |
7 | 2630 # endif |
2631 if (gui_is_win32s()) | |
2632 MSG_PUTS(_(" in Win32s mode")); | |
2633 # ifdef FEAT_OLE | |
2634 MSG_PUTS(_(" with OLE support")); | |
2635 # endif | |
2636 # else | |
1607 | 2637 # ifdef _WIN64 |
2638 MSG_PUTS(_("\nMS-Windows 64-bit console version")); | |
2639 # else | |
2640 MSG_PUTS(_("\nMS-Windows 32-bit console version")); | |
2641 # endif | |
7 | 2642 # endif |
2643 #endif | |
2644 #ifdef WIN16 | |
1607 | 2645 MSG_PUTS(_("\nMS-Windows 16-bit version")); |
7 | 2646 #endif |
2647 #ifdef MSDOS | |
2648 # ifdef DJGPP | |
1607 | 2649 MSG_PUTS(_("\n32-bit MS-DOS version")); |
7 | 2650 # else |
1607 | 2651 MSG_PUTS(_("\n16-bit MS-DOS version")); |
7 | 2652 # endif |
2653 #endif | |
2654 #ifdef MACOS | |
2655 # ifdef MACOS_X | |
2656 # ifdef MACOS_X_UNIX | |
2657 MSG_PUTS(_("\nMacOS X (unix) version")); | |
2658 # else | |
2659 MSG_PUTS(_("\nMacOS X version")); | |
2660 # endif | |
2661 #else | |
2662 MSG_PUTS(_("\nMacOS version")); | |
2663 # endif | |
2664 #endif | |
2665 | |
2666 #ifdef VMS | |
1705 | 2667 MSG_PUTS(_("\nOpenVMS version")); |
1045 | 2668 # ifdef HAVE_PATHDEF |
2669 if (*compiled_arch != NUL) | |
2670 { | |
2671 MSG_PUTS(" - "); | |
2672 MSG_PUTS(compiled_arch); | |
2673 } | |
2674 # endif | |
2675 | |
7 | 2676 #endif |
2677 | |
2678 /* Print the list of patch numbers if there is at least one. */ | |
2679 /* Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45" */ | |
2680 if (included_patches[0] != 0) | |
2681 { | |
2682 MSG_PUTS(_("\nIncluded patches: ")); | |
2683 first = -1; | |
2684 /* find last one */ | |
2685 for (i = 0; included_patches[i] != 0; ++i) | |
2686 ; | |
2687 while (--i >= 0) | |
2688 { | |
2689 if (first < 0) | |
2690 first = included_patches[i]; | |
2691 if (i == 0 || included_patches[i - 1] != included_patches[i] + 1) | |
2692 { | |
2693 MSG_PUTS(s); | |
2694 s = ", "; | |
2695 msg_outnum((long)first); | |
2696 if (first != included_patches[i]) | |
2697 { | |
2698 MSG_PUTS("-"); | |
2699 msg_outnum((long)included_patches[i]); | |
2700 } | |
2701 first = -1; | |
2702 } | |
2703 } | |
2704 } | |
2705 | |
1760 | 2706 /* Print the list of extra patch descriptions if there is at least one. */ |
2707 if (extra_patches[0] != NULL) | |
2708 { | |
2709 MSG_PUTS(_("\nExtra patches: ")); | |
2710 s = ""; | |
2711 for (i = 0; extra_patches[i] != NULL; ++i) | |
2712 { | |
2713 MSG_PUTS(s); | |
2714 s = ", "; | |
2715 MSG_PUTS(extra_patches[i]); | |
2716 } | |
2717 } | |
2718 | |
7 | 2719 #ifdef MODIFIED_BY |
2720 MSG_PUTS("\n"); | |
2721 MSG_PUTS(_("Modified by ")); | |
2722 MSG_PUTS(MODIFIED_BY); | |
2723 #endif | |
2724 | |
2725 #ifdef HAVE_PATHDEF | |
2726 if (*compiled_user != NUL || *compiled_sys != NUL) | |
2727 { | |
2728 MSG_PUTS(_("\nCompiled ")); | |
2729 if (*compiled_user != NUL) | |
2730 { | |
2731 MSG_PUTS(_("by ")); | |
2732 MSG_PUTS(compiled_user); | |
2733 } | |
2734 if (*compiled_sys != NUL) | |
2735 { | |
2736 MSG_PUTS("@"); | |
2737 MSG_PUTS(compiled_sys); | |
2738 } | |
2739 } | |
2740 #endif | |
2741 | |
2742 #ifdef FEAT_HUGE | |
2743 MSG_PUTS(_("\nHuge version ")); | |
2744 #else | |
2745 # ifdef FEAT_BIG | |
2746 MSG_PUTS(_("\nBig version ")); | |
2747 # else | |
2748 # ifdef FEAT_NORMAL | |
2749 MSG_PUTS(_("\nNormal version ")); | |
2750 # else | |
2751 # ifdef FEAT_SMALL | |
2752 MSG_PUTS(_("\nSmall version ")); | |
2753 # else | |
2754 MSG_PUTS(_("\nTiny version ")); | |
2755 # endif | |
2756 # endif | |
2757 # endif | |
2758 #endif | |
2759 #ifndef FEAT_GUI | |
2760 MSG_PUTS(_("without GUI.")); | |
2761 #else | |
2762 # ifdef FEAT_GUI_GTK | |
2763 # ifdef FEAT_GUI_GNOME | |
2764 MSG_PUTS(_("with GTK2-GNOME GUI.")); | |
2765 # else | |
2766 MSG_PUTS(_("with GTK2 GUI.")); | |
2767 # endif | |
2768 # else | |
2769 # ifdef FEAT_GUI_MOTIF | |
2770 MSG_PUTS(_("with X11-Motif GUI.")); | |
2771 # else | |
2772 # ifdef FEAT_GUI_ATHENA | |
2773 # ifdef FEAT_GUI_NEXTAW | |
2774 MSG_PUTS(_("with X11-neXtaw GUI.")); | |
2775 # else | |
2776 MSG_PUTS(_("with X11-Athena GUI.")); | |
2777 # endif | |
2778 # else | |
2779 # ifdef FEAT_GUI_PHOTON | |
2780 MSG_PUTS(_("with Photon GUI.")); | |
2781 # else | |
2782 # if defined(MSWIN) | |
2783 MSG_PUTS(_("with GUI.")); | |
2784 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2785 # if defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON |
7 | 2786 MSG_PUTS(_("with Carbon GUI.")); |
2787 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2788 # if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX |
7 | 2789 MSG_PUTS(_("with Cocoa GUI.")); |
2790 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2791 # if defined(MACOS) |
7 | 2792 MSG_PUTS(_("with (classic) GUI.")); |
2793 # endif | |
2794 # endif | |
2795 # endif | |
2796 # endif | |
2797 # endif | |
2798 # endif | |
2799 # endif | |
2800 # endif | |
2801 #endif | |
2802 version_msg(_(" Features included (+) or not (-):\n")); | |
2803 | |
4147 | 2804 list_features(); |
7 | 2805 |
2806 #ifdef SYS_VIMRC_FILE | |
2807 version_msg(_(" system vimrc file: \"")); | |
2808 version_msg(SYS_VIMRC_FILE); | |
2809 version_msg("\"\n"); | |
2810 #endif | |
2811 #ifdef USR_VIMRC_FILE | |
2812 version_msg(_(" user vimrc file: \"")); | |
2813 version_msg(USR_VIMRC_FILE); | |
2814 version_msg("\"\n"); | |
2815 #endif | |
2816 #ifdef USR_VIMRC_FILE2 | |
2817 version_msg(_(" 2nd user vimrc file: \"")); | |
2818 version_msg(USR_VIMRC_FILE2); | |
2819 version_msg("\"\n"); | |
2820 #endif | |
2821 #ifdef USR_VIMRC_FILE3 | |
2822 version_msg(_(" 3rd user vimrc file: \"")); | |
2823 version_msg(USR_VIMRC_FILE3); | |
2824 version_msg("\"\n"); | |
2825 #endif | |
2826 #ifdef USR_EXRC_FILE | |
2827 version_msg(_(" user exrc file: \"")); | |
2828 version_msg(USR_EXRC_FILE); | |
2829 version_msg("\"\n"); | |
2830 #endif | |
2831 #ifdef USR_EXRC_FILE2 | |
2832 version_msg(_(" 2nd user exrc file: \"")); | |
2833 version_msg(USR_EXRC_FILE2); | |
2834 version_msg("\"\n"); | |
2835 #endif | |
2836 #ifdef FEAT_GUI | |
2837 # ifdef SYS_GVIMRC_FILE | |
2838 version_msg(_(" system gvimrc file: \"")); | |
2839 version_msg(SYS_GVIMRC_FILE); | |
2840 version_msg("\"\n"); | |
2841 # endif | |
2842 version_msg(_(" user gvimrc file: \"")); | |
2843 version_msg(USR_GVIMRC_FILE); | |
2844 version_msg("\"\n"); | |
2845 # ifdef USR_GVIMRC_FILE2 | |
2846 version_msg(_("2nd user gvimrc file: \"")); | |
2847 version_msg(USR_GVIMRC_FILE2); | |
2848 version_msg("\"\n"); | |
2849 # endif | |
2850 # ifdef USR_GVIMRC_FILE3 | |
2851 version_msg(_("3rd user gvimrc file: \"")); | |
2852 version_msg(USR_GVIMRC_FILE3); | |
2853 version_msg("\"\n"); | |
2854 # endif | |
2855 #endif | |
2856 #ifdef FEAT_GUI | |
2857 # ifdef SYS_MENU_FILE | |
2858 version_msg(_(" system menu file: \"")); | |
2859 version_msg(SYS_MENU_FILE); | |
2860 version_msg("\"\n"); | |
2861 # endif | |
2862 #endif | |
2863 #ifdef HAVE_PATHDEF | |
2864 if (*default_vim_dir != NUL) | |
2865 { | |
2866 version_msg(_(" fall-back for $VIM: \"")); | |
2867 version_msg((char *)default_vim_dir); | |
2868 version_msg("\"\n"); | |
2869 } | |
2870 if (*default_vimruntime_dir != NUL) | |
2871 { | |
2872 version_msg(_(" f-b for $VIMRUNTIME: \"")); | |
2873 version_msg((char *)default_vimruntime_dir); | |
2874 version_msg("\"\n"); | |
2875 } | |
2876 version_msg(_("Compilation: ")); | |
2877 version_msg((char *)all_cflags); | |
2878 version_msg("\n"); | |
2879 #ifdef VMS | |
2880 if (*compiler_version != NUL) | |
2881 { | |
2882 version_msg(_("Compiler: ")); | |
2883 version_msg((char *)compiler_version); | |
2884 version_msg("\n"); | |
2885 } | |
2886 #endif | |
2887 version_msg(_("Linking: ")); | |
2888 version_msg((char *)all_lflags); | |
2889 #endif | |
2890 #ifdef DEBUG | |
2891 version_msg("\n"); | |
2892 version_msg(_(" DEBUG BUILD")); | |
2893 #endif | |
2894 } | |
2895 | |
2896 /* | |
2897 * Output a string for the version message. If it's going to wrap, output a | |
2898 * newline, unless the message is too long to fit on the screen anyway. | |
2899 */ | |
2900 static void | |
2901 version_msg(s) | |
2902 char *s; | |
2903 { | |
2904 int len = (int)STRLEN(s); | |
2905 | |
2906 if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns | |
2907 && *s != '\n') | |
2908 msg_putchar('\n'); | |
2909 if (!got_int) | |
2910 MSG_PUTS(s); | |
2911 } | |
2912 | |
2913 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr)); | |
2914 | |
2915 /* | |
2916 * Give an introductory message about Vim. | |
2917 * Only used when starting Vim on an empty file, without a file name. | |
2918 * Or with the ":intro" command (for Sven :-). | |
2919 */ | |
2920 void | |
2921 intro_message(colon) | |
2922 int colon; /* TRUE for ":intro" */ | |
2923 { | |
2924 int i; | |
2925 int row; | |
2926 int blanklines; | |
2927 int sponsor; | |
2928 char *p; | |
2929 static char *(lines[]) = | |
2930 { | |
2931 N_("VIM - Vi IMproved"), | |
2932 "", | |
2933 N_("version "), | |
2934 N_("by Bram Moolenaar et al."), | |
2935 #ifdef MODIFIED_BY | |
2936 " ", | |
2937 #endif | |
2938 N_("Vim is open source and freely distributable"), | |
2939 "", | |
2940 N_("Help poor children in Uganda!"), | |
2941 N_("type :help iccf<Enter> for information "), | |
2942 "", | |
2943 N_("type :q<Enter> to exit "), | |
2944 N_("type :help<Enter> or <F1> for on-line help"), | |
26 | 2945 N_("type :help version7<Enter> for version info"), |
7 | 2946 NULL, |
2947 "", | |
2948 N_("Running in Vi compatible mode"), | |
2949 N_("type :set nocp<Enter> for Vim defaults"), | |
2950 N_("type :help cp-default<Enter> for info on this"), | |
2951 }; | |
2952 #ifdef FEAT_GUI | |
2953 static char *(gui_lines[]) = | |
2954 { | |
2955 NULL, | |
2956 NULL, | |
2957 NULL, | |
2958 NULL, | |
2959 #ifdef MODIFIED_BY | |
2960 NULL, | |
2961 #endif | |
2962 NULL, | |
2963 NULL, | |
2964 NULL, | |
2965 N_("menu Help->Orphans for information "), | |
2966 NULL, | |
2967 N_("Running modeless, typed text is inserted"), | |
2968 N_("menu Edit->Global Settings->Toggle Insert Mode "), | |
2969 N_(" for two modes "), | |
2970 NULL, | |
2971 NULL, | |
2972 NULL, | |
2973 N_("menu Edit->Global Settings->Toggle Vi Compatible"), | |
2974 N_(" for Vim defaults "), | |
2975 }; | |
2976 #endif | |
2977 | |
2978 /* blanklines = screen height - # message lines */ | |
2979 blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1); | |
2980 if (!p_cp) | |
2981 blanklines += 4; /* add 4 for not showing "Vi compatible" message */ | |
2982 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
2983 if (mch_windows95()) | |
2984 blanklines -= 3; /* subtract 3 for showing "Windows 95" message */ | |
2985 #endif | |
2986 | |
2987 #ifdef FEAT_WINDOWS | |
2988 /* Don't overwrite a statusline. Depends on 'cmdheight'. */ | |
2989 if (p_ls > 1) | |
2990 blanklines -= Rows - topframe->fr_height; | |
2991 #endif | |
2992 if (blanklines < 0) | |
2993 blanklines = 0; | |
2994 | |
2995 /* Show the sponsor and register message one out of four times, the Uganda | |
2996 * message two out of four times. */ | |
615 | 2997 sponsor = (int)time(NULL); |
7 | 2998 sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0); |
2999 | |
3000 /* start displaying the message lines after half of the blank lines */ | |
3001 row = blanklines / 2; | |
3002 if ((row >= 2 && Columns >= 50) || colon) | |
3003 { | |
3004 for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i) | |
3005 { | |
3006 p = lines[i]; | |
3007 #ifdef FEAT_GUI | |
3008 if (p_im && gui.in_use && gui_lines[i] != NULL) | |
3009 p = gui_lines[i]; | |
3010 #endif | |
3011 if (p == NULL) | |
3012 { | |
3013 if (!p_cp) | |
3014 break; | |
3015 continue; | |
3016 } | |
3017 if (sponsor != 0) | |
3018 { | |
3019 if (strstr(p, "children") != NULL) | |
3020 p = sponsor < 0 | |
3021 ? N_("Sponsor Vim development!") | |
3022 : N_("Become a registered Vim user!"); | |
3023 else if (strstr(p, "iccf") != NULL) | |
3024 p = sponsor < 0 | |
3025 ? N_("type :help sponsor<Enter> for information ") | |
3026 : N_("type :help register<Enter> for information "); | |
3027 else if (strstr(p, "Orphans") != NULL) | |
3028 p = N_("menu Help->Sponsor/Register for information "); | |
3029 } | |
3030 if (*p != NUL) | |
3031 do_intro_line(row, (char_u *)_(p), i == 2, 0); | |
3032 ++row; | |
3033 } | |
3034 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
3035 if (mch_windows95()) | |
3036 { | |
3037 do_intro_line(++row, | |
3038 (char_u *)_("WARNING: Windows 95/98/ME detected"), | |
3039 FALSE, hl_attr(HLF_E)); | |
3040 do_intro_line(++row, | |
3041 (char_u *)_("type :help windows95<Enter> for info on this"), | |
3042 FALSE, 0); | |
3043 } | |
3044 #endif | |
3045 } | |
3046 | |
3047 /* Make the wait-return message appear just below the text. */ | |
3048 if (colon) | |
3049 msg_row = row; | |
3050 } | |
3051 | |
3052 static void | |
3053 do_intro_line(row, mesg, add_version, attr) | |
3054 int row; | |
3055 char_u *mesg; | |
3056 int add_version; | |
3057 int attr; | |
3058 { | |
3059 char_u vers[20]; | |
3060 int col; | |
3061 char_u *p; | |
3062 int l; | |
3063 int clen; | |
3064 #ifdef MODIFIED_BY | |
3065 # define MODBY_LEN 150 | |
3066 char_u modby[MODBY_LEN]; | |
3067 | |
3068 if (*mesg == ' ') | |
3069 { | |
1491 | 3070 vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1); |
7 | 3071 l = STRLEN(modby); |
1491 | 3072 vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1); |
7 | 3073 mesg = modby; |
3074 } | |
3075 #endif | |
3076 | |
3077 /* Center the message horizontally. */ | |
3078 col = vim_strsize(mesg); | |
3079 if (add_version) | |
3080 { | |
3081 STRCPY(vers, mediumVersion); | |
3082 if (highest_patch()) | |
3083 { | |
3084 /* Check for 9.9x or 9.9xx, alpha/beta version */ | |
2619 | 3085 if (isalpha((int)vers[3])) |
7 | 3086 { |
3396 | 3087 int len = (isalpha((int)vers[4])) ? 5 : 4; |
3088 sprintf((char *)vers + len, ".%d%s", highest_patch(), | |
3089 mediumVersion + len); | |
7 | 3090 } |
3091 else | |
3092 sprintf((char *)vers + 3, ".%d", highest_patch()); | |
3093 } | |
3094 col += (int)STRLEN(vers); | |
3095 } | |
3096 col = (Columns - col) / 2; | |
3097 if (col < 0) | |
3098 col = 0; | |
3099 | |
3100 /* Split up in parts to highlight <> items differently. */ | |
3101 for (p = mesg; *p != NUL; p += l) | |
3102 { | |
3103 clen = 0; | |
3104 for (l = 0; p[l] != NUL | |
3105 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l) | |
3106 { | |
3107 #ifdef FEAT_MBYTE | |
3108 if (has_mbyte) | |
3109 { | |
3110 clen += ptr2cells(p + l); | |
474 | 3111 l += (*mb_ptr2len)(p + l) - 1; |
7 | 3112 } |
3113 else | |
3114 #endif | |
3115 clen += byte2cells(p[l]); | |
3116 } | |
3117 screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr); | |
3118 col += clen; | |
3119 } | |
3120 | |
3121 /* Add the version number to the version line. */ | |
3122 if (add_version) | |
3123 screen_puts(vers, row, col, 0); | |
3124 } | |
3125 | |
3126 /* | |
3127 * ":intro": clear screen, display intro screen and wait for return. | |
3128 */ | |
3129 void | |
3130 ex_intro(eap) | |
1876 | 3131 exarg_T *eap UNUSED; |
7 | 3132 { |
3133 screenclear(); | |
3134 intro_message(TRUE); | |
3135 wait_return(TRUE); | |
3136 } |