4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: XIM with GTK 2: After backspacing preedit characters are wrong.
12 Solution: Reset the cursor position. (Yasuhiro Matsumoto)
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
22 g_return_if_fail(preedit_string != NULL); /* just in case */
24 + /* If at the start position (after typing backspace) preedit_start_col
26 + if (cursor_index == 0)
27 + preedit_start_col = MAXCOL;
29 if (preedit_start_col == MAXCOL && preedit_string[0] != '\0')
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
37 { /* Add new patch number below this line */
43 Ed's Radiator Shop: The Best Place in Town to Take a Leak.
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 ///