4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When searching for a string that starts with a composing character
12 the command line isn't drawn properly.
13 Solution: Don't count the space to draw the composing character on and
14 adjust the cursor column after drawing the string.
18 *** ../vim-6.2.066/src/message.c Thu Jul 24 21:48:47 2003
19 --- src/message.c Sun Aug 3 16:16:49 2003
22 /* If the string starts with a composing character first draw a space on
23 * which the composing char can be drawn. */
24 if (enc_utf8 && utf_iscomposing(utf_ptr2char(msgstr)))
26 msg_puts_attr((char_u *)" ", attr);
36 msg_didout = TRUE; /* remember that line is not empty */
37 screen_puts_len(t_s, (int)(s - t_s), msg_row, msg_col, attr);
40 + /* If the string starts with a composing character don't increment the
41 + * column position for it. */
42 + if (enc_utf8 && utf_iscomposing(utf_ptr2char(t_s)))
45 if (msg_col >= Columns)
48 *** ../vim-6.2.066/src/version.c Sun Aug 10 22:37:55 2003
49 --- src/version.c Sun Aug 10 22:39:21 2003
53 { /* Add new patch number below this line */
59 From "know your smileys":
60 (X0||) Double hamburger with lettuce and tomato
62 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
63 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
64 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
65 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///