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 / 6.3 / 6.3.054 < prev    next >
Encoding:
Internet Message Format  |  2005-01-04  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.3.054
  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.3.054
  11. Problem:    When 'insertmode' is set <C-L>4ixxx<C-L> hangs Vim. (Jens Paulus)
  12.         Vim is actually still working but redraw is disabled.
  13. Solution:   When stopping Insert mode with CTRL-L don't put an Esc in the redo
  14.         buffer but a CTRL-L.
  15. Files:        src/edit.c
  16.  
  17.  
  18. *** ../vim-6.3.053/src/edit.c    Wed Jun  9 14:56:28 2004
  19. --- src/edit.c    Wed Jan  5 11:13:14 2005
  20. ***************
  21. *** 6048,6056 ****
  22.       {
  23.       /*
  24.        * Don't append the ESC for "r<CR>" and "grx".
  25.        */
  26.       if (cmdchar != 'r' && cmdchar != 'v')
  27. !         AppendToRedobuff(ESC_STR);
  28.   
  29.       /*
  30.        * Repeating insert may take a long time.  Check for
  31. --- 6048,6058 ----
  32.       {
  33.       /*
  34.        * Don't append the ESC for "r<CR>" and "grx".
  35. +      * When 'insertmode' is set only CTRL-L stops Insert mode.  Needed for
  36. +      * when "count" is non-zero.
  37.        */
  38.       if (cmdchar != 'r' && cmdchar != 'v')
  39. !         AppendToRedobuff(p_im ? (char_u *)"\014" : ESC_STR);
  40.   
  41.       /*
  42.        * Repeating insert may take a long time.  Check for
  43. *** ../vim-6.3.053/src/version.c    Thu Dec 23 17:17:02 2004
  44. --- src/version.c    Wed Jan  5 11:16:24 2005
  45. ***************
  46. *** 643,644 ****
  47. --- 643,646 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     54,
  51.   /**/
  52.  
  53. -- 
  54. "The amigos also appear to be guilty of not citing the work of others who had
  55. gone before them.  Even worse, they have a chapter about modeling time and
  56. space without making a single reference to Star Trek!"
  57.             (Scott Ambler, reviewing the UML User Guide)
  58.  
  59.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  60. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  61. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  62.  \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///
  63.