Permalink
Browse files

updated for version 7.0023

  • Loading branch information...
1 parent 696e1c6 commit 06b042205409c01b5de6f8f53795aa338b9260b9 vimboss committed Dec 19, 2004
Showing with 2,401 additions and 1,395 deletions.
  1. +5 −3 runtime/doc/autocmd.txt
  2. +8 −3 runtime/doc/change.txt
  3. +285 −268 runtime/doc/editing.txt
  4. +2 −2 runtime/doc/intro.txt
  5. +3 −1 runtime/doc/mbyte.txt
  6. +13 −4 runtime/doc/options.txt
  7. +7 −1 runtime/doc/os_mac.txt
  8. +2 −1 runtime/doc/pattern.txt
  9. +3 −0 runtime/doc/tags
  10. +25 −58 runtime/doc/todo.txt
  11. +59 −1 runtime/doc/version7.txt
  12. +7 −1 runtime/filetype.vim
  13. +4 −1 runtime/ftplugin/make.vim
  14. +2 −1 runtime/makemenu.vim
  15. +18 −6 runtime/syntax/2html.vim
  16. +55 −47 runtime/syntax/iss.vim
  17. +55 −0 runtime/syntax/netrc.vim
  18. +290 −0 runtime/syntax/sudoers.vim
  19. +5 −3 src/INSTALLpc.txt
  20. +3 −0 src/Make_bc5.mak
  21. +5 −11 src/Make_cyg.mak
  22. +4 −6 src/Make_ming.mak
  23. +1 −1 src/Make_mvc.mak
  24. +281 −3 src/Make_vms.mms
  25. +216 −170 src/auto/configure
  26. +2 −11 src/buffer.c
  27. +23 −35 src/charset.c
  28. +21 −7 src/configure.in
  29. +18 −17 src/eval.c
  30. +5 −6 src/ex_cmds.c
  31. +37 −27 src/ex_cmds2.c
  32. +3 −18 src/ex_docmd.c
  33. +6 −7 src/ex_getln.c
  34. +11 −12 src/fileio.c
  35. +1 −6 src/fold.c
  36. +1 −1 src/getchar.c
  37. +1 −6 src/gui.c
  38. +1 −5 src/gui_gtk.c
  39. +5 −3 src/gui_gtk_x11.c
  40. +252 −212 src/gui_kde.cc
  41. +1 −1 src/gui_w32.c
  42. +1 −0 src/gui_x11.c
  43. +74 −16 src/if_xcmdsrv.c
  44. +18 −0 src/macros.h
  45. +41 −4 src/main.c
  46. +1 −5 src/mark.c
  47. +13 −2 src/mbyte.c
  48. +183 −28 src/memline.c
  49. +3 −16 src/menu.c
  50. +3 −16 src/message.c
  51. +43 −36 src/misc1.c
  52. +59 −35 src/misc2.c
  53. +10 −14 src/ops.c
  54. +28 −35 src/option.c
  55. +2 −1 src/option.h
  56. +3 −11 src/os_amiga.c
  57. +3 −12 src/os_mac.c
  58. +5 −23 src/os_msdos.c
  59. +105 −39 src/os_mswin.c
  60. +6 −19 src/os_unix.c
  61. +7 −9 src/os_win32.c
  62. +0 −1 src/proto/ex_cmds2.pro
  63. +1 −0 src/proto/main.pro
  64. +1 −1 src/proto/memline.pro
  65. +1 −0 src/proto/misc1.pro
  66. +3 −1 src/proto/misc2.pro
  67. +1 −0 src/proto/option.pro
  68. +1 −1 src/proto/os_mswin.pro
  69. +13 −59 src/regexp.c
  70. +11 −15 src/screen.c
  71. +4 −4 src/tag.c
  72. +2 −0 src/term.c
  73. +1 −6 src/ui.c
  74. +2 −2 src/version.h
  75. +3 −3 src/vim.h
  76. +3 −15 src/vim.rc
View
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Sep 17
+*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Dec 16
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -230,8 +230,10 @@ BufWritePost After writing the whole buffer to a file
*BufWriteCmd*
BufWriteCmd Before writing the whole buffer to a file.
Should do the writing of the file and reset
- 'modified' if successful. The buffer contents
- should not be changed. |Cmd-event|
+ 'modified' if successful, unless '+' is in
+ 'cpo' and writing to another file |cpo-+|.
+ The buffer contents should not be changed.
+ |Cmd-event|
*FileWritePre*
FileWritePre Before writing to a file, when not writing the
whole buffer. Use the '[ and '] marks for the
View
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.0aa. Last change: 2004 Nov 30
+*change.txt* For Vim version 7.0aa. Last change: 2004 Dec 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -351,7 +351,8 @@ The CTRL-A and CTRL-X commands work for (signed) decimal numbers, unsigned
octal and hexadecimal numbers and alphabetic characters. This depends on the
'nrformats' option.
- When 'nrformats' includes "octal", Vim considers numbers starting with a '0'
- to be octal. Other numbers are decimal and may have a preceding minus sign.
+ to be octal, unless the number includes a '8' or '9'. Other numbers are
+ decimal and may have a preceding minus sign.
If the cursor is on a number, the commands apply to that number; otherwise
Vim uses the number to the right of the cursor.
- When 'nrformats' includes "hex", Vim assumes numbers starting with '0x' or
@@ -365,9 +366,13 @@ octal and hexadecimal numbers and alphabetic characters. This depends on the
For numbers with leading zeros (including all octal and hexadecimal numbers),
Vim preserves the number of characters in the number when possible. CTRL-A on
"0077" results in "0100", CTRL-X on "0x100" results in "0x0ff".
+There is one exception: When a number that starts with a zero is found not to
+be octal (it contains a '8' or '9'), but 'nrformats' does include "octal",
+leading zeros are removed to avoid that the result may be recognized as an
+octal number.
Note that when 'nrformats' includes "octal", decimal numbers with leading
-zeros are impossible because they are indistinguishable from octal numbers.
+zeros cause mistakes, because they can be confused with octal numbers.
The CTRL-A command is very useful in a macro. Example: Use the following
steps to make a numbered list.
Oops, something went wrong.

0 comments on commit 06b0422

Please sign in to comment.