]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.008
- use new bonobo patch (20040115)
[packages/vim.git] / 6.2.008
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.008
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.008
11 Problem:    XIM with GTK 2: After backspacing preedit characters are wrong.
12 Solution:   Reset the cursor position. (Yasuhiro Matsumoto)
13 Files:      src/mbyte.c
14
15
16 *** ../vim-6.2.007/src/mbyte.c  Sat May 31 18:12:56 2003
17 --- src/mbyte.c Tue Jun  3 20:49:02 2003
18 ***************
19 *** 3199,3204 ****
20 --- 3199,3209 ----
21   
22       g_return_if_fail(preedit_string != NULL); /* just in case */
23   
24 +     /* If at the start position (after typing backspace) preedit_start_col
25 +      * must be reset. */
26 +     if (cursor_index == 0)
27 +       preedit_start_col = MAXCOL;
28
29       if (preedit_start_col == MAXCOL && preedit_string[0] != '\0')
30       {
31         /* Urgh, this breaks if the input buffer isn't empty now */
32 *** ../vim-6.2.007/src/version.c        Tue Jun  3 20:40:22 2003
33 --- src/version.c       Tue Jun  3 20:49:57 2003
34 ***************
35 *** 632,633 ****
36 --- 632,635 ----
37   {   /* Add new patch number below this line */
38 + /**/
39 +     8,
40   /**/
41
42 -- 
43 Ed's Radiator Shop: The Best Place in Town to Take a Leak.
44
45  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
46 ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
47 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
48  \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
This page took 0.037093 seconds and 3 git commands to generate.