1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Using CTRL-A on "000" drops the leading zero, while on "001" it
13 Solution: Detect "000" as an octal number. (James McCoy)
17 *** ../vim-7.3.413/src/charset.c 2012-01-10 22:26:12.000000000 +0100
18 --- src/charset.c 2012-01-26 13:33:45.000000000 +0100
24 ! * Return the number of characters string "s" will take on the screen,
25 * counting TABs as two characters: "^I".
32 ! * Return the number of character cells string "s" will take on the screen,
33 * counting TABs as two characters: "^I".
41 ! * Return the number of characters string "s[len]" will take on the screen,
42 ! * counting TABs as two characters: "^I".
50 ! * Return the number of character cells string "s[len]" will take on the
51 ! * screen, counting TABs as two characters: "^I".
57 hex = 0; /* can't be octal */
61 hex = '0'; /* assume octal */
65 hex = 0; /* can't be octal */
69 hex = '0'; /* assume octal */
72 *** ../vim-7.3.413/src/version.c 2012-01-26 13:01:54.000000000 +0100
73 --- src/version.c 2012-01-26 13:38:04.000000000 +0100
77 { /* Add new patch number below this line */
83 No engineer can take a shower without wondering if some sort of Teflon coating
84 would make showering unnecessary.
85 (Scott Adams - The Dilbert principle)
87 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
88 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
89 \\\ an exciting new programming language -- http://www.Zimbu.org ///
90 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///