]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.055
- use new bonobo patch (20040115)
[packages/vim.git] / 6.2.055
CommitLineData
d8621708 1To: vim-dev@vim.org
2Subject: Patch 6.2.055
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.055
11Problem: Using col('.') from CTRL-O in Insert mode does not return the
12 correct value for multi-byte characters.
13Solution: Correct the cursor position when it is necessary, move to the
14 first byte of a multi-byte character. (Yasuhiro Matsumoto)
15Files: src/edit.c
16
17
18*** ../vim-6.2.054/src/edit.c Thu May 29 20:35:21 2003
19--- src/edit.c Thu Jul 10 00:58:03 2003
20***************
21*** 6007,6013 ****
22--- 6007,6020 ----
23 }
24 else
25 #endif
26+ {
27 --curwin->w_cursor.col;
28+ #ifdef FEAT_MBYTE
29+ /* Correct cursor for multi-byte character. */
30+ if (has_mbyte)
31+ mb_adjust_cursor();
32+ #endif
33+ }
34 }
35
36 #ifdef USE_IM_CONTROL
37*** ../vim-6.2.054/src/version.c Sun Jul 27 15:01:56 2003
38--- src/version.c Sun Jul 27 15:04:46 2003
39***************
40*** 632,633 ****
41--- 632,635 ----
42 { /* Add new patch number below this line */
43+ /**/
44+ 55,
45 /**/
46
47--
48Never under any circumstances take a sleeping pill
49and a laxative on the same night.
50
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
53\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
54 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.033321 seconds and 4 git commands to generate.