Loading ...
Sorry, an error occurred while loading the content.

Patch 6.2.067

Expand Messages
  • Bram Moolenaar
    Patch 6.2.067 Problem: When searching for a string that starts with a composing character the command line isn t drawn properly. Solution: Don t count the
    Message 1 of 1 , Aug 10, 2003
    • 0 Attachment
      Patch 6.2.067
      Problem: When searching for a string that starts with a composing character
      the command line isn't drawn properly.
      Solution: Don't count the space to draw the composing character on and
      adjust the cursor column after drawing the string.
      Files: src/message.c


      *** ../vim-6.2.066/src/message.c Thu Jul 24 21:48:47 2003
      --- src/message.c Sun Aug 3 16:16:49 2003
      ***************
      *** 1166,1175 ****
      /* If the string starts with a composing character first draw a space on
      * which the composing char can be drawn. */
      if (enc_utf8 && utf_iscomposing(utf_ptr2char(msgstr)))
      - {
      msg_puts_attr((char_u *)" ", attr);
      - retval += 1;
      - }
      #endif

      /*
      --- 1166,1172 ----
      ***************
      *** 2080,2085 ****
      --- 2077,2088 ----
      msg_didout = TRUE; /* remember that line is not empty */
      screen_puts_len(t_s, (int)(s - t_s), msg_row, msg_col, attr);
      msg_col += t_col;
      + #ifdef FEAT_MBYTE
      + /* If the string starts with a composing character don't increment the
      + * column position for it. */
      + if (enc_utf8 && utf_iscomposing(utf_ptr2char(t_s)))
      + --msg_col;
      + #endif
      if (msg_col >= Columns)
      {
      msg_col = 0;
      *** ../vim-6.2.066/src/version.c Sun Aug 10 22:37:55 2003
      --- src/version.c Sun Aug 10 22:39:21 2003
      ***************
      *** 632,633 ****
      --- 632,635 ----
      { /* Add new patch number below this line */
      + /**/
      + 67,
      /**/

      --
      From "know your smileys":
      (X0||) Double hamburger with lettuce and tomato

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.