home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.0 / 7.0.034 < prev    next >
Encoding:
Internet Message Format  |  2006-06-22  |  2.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.034
  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 7.0.034
  11. Problem:    After doing completion and typing more characters or using BS
  12.         repeating with "." didn't work properly. (Martin Stubenschrott)
  13. Solution:   Don't put BS and other characters in the redo buffer right away,
  14.         do this when finishing completion.
  15. Files:        src/edit.c
  16.  
  17.  
  18. *** ../vim-7.0.033/src/edit.c    Thu Jun 22 16:48:43 2006
  19. --- src/edit.c    Fri Jun 23 17:50:47 2006
  20. ***************
  21. *** 3020,3028 ****
  22.       if ((int)(p - line) - (int)compl_col <= 0)
  23.       return K_BS;
  24.   
  25. -     /* For redo we need to repeat this backspace. */
  26. -     AppendCharToRedobuff(K_BS);
  27.       /* Deleted more than what was used to find matches or didn't finish
  28.        * finding all matches: need to look for matches all over again. */
  29.       if (curwin->w_cursor.col <= compl_col + compl_length
  30. --- 3020,3025 ----
  31. ***************
  32. *** 3121,3130 ****
  33.       else
  34.   #endif
  35.       ins_char(c);
  36. -     /* For redo we need to count this character so that the number of
  37. -      * backspaces is correct. */
  38. -     AppendCharToRedobuff(c);
  39.   
  40.       /* If we didn't complete finding matches we must search again. */
  41.       if (compl_was_interrupted)
  42. --- 3118,3123 ----
  43. *** ../vim-7.0.033/src/version.c    Fri Jun 23 17:26:02 2006
  44. --- src/version.c    Fri Jun 23 17:59:04 2006
  45. ***************
  46. *** 668,669 ****
  47. --- 668,671 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     34,
  51.   /**/
  52.  
  53. -- 
  54. A parent can be arrested if his child cannot hold back a burp during a church
  55. service.
  56.         [real standing law in Nebraska, United States of America]
  57.  
  58.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  59. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  60. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  61.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  62.