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.029 < prev    next >
Encoding:
Internet Message Format  |  2006-06-21  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.029
  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.029
  11. Problem:    getchar() may not position the cursor after a space.
  12. Solution:   Position the cursor explicitly.
  13. Files:        src/eval.c
  14.  
  15.  
  16. *** ../vim-7.0.028/src/eval.c    Thu Jun 22 18:02:06 2006
  17. --- src/eval.c    Thu Jun 22 21:00:00 2006
  18. ***************
  19. *** 9792,9797 ****
  20. --- 9792,9800 ----
  21.       varnumber_T        n;
  22.       int            error = FALSE;
  23.   
  24. +     /* Position the cursor.  Needed after a message that ends in a space. */
  25. +     windgoto(msg_row, msg_col);
  26.       ++no_mapping;
  27.       ++allow_keys;
  28.       if (argvars[0].v_type == VAR_UNKNOWN)
  29. *** ../vim-7.0.028/src/version.c    Thu Jun 22 19:47:11 2006
  30. --- src/version.c    Thu Jun 22 20:55:43 2006
  31. ***************
  32. *** 668,669 ****
  33. --- 668,671 ----
  34.   {   /* Add new patch number below this line */
  35. + /**/
  36. +     29,
  37.   /**/
  38.  
  39. -- 
  40. BEDEVERE: How do you know so much about swallows?
  41. ARTHUR:   Well you have to know these things when you're a king, you know.
  42.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  43.  
  44.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  45. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  46. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  47.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  48.