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.091 < prev    next >
Encoding:
Internet Message Format  |  2006-09-05  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.091
  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.091
  11. Problem:    Using winrestview() while 'showcmd' is set causes the cursor to be
  12.         displayed in the wrong position. (Yakov Lerner)
  13. Solution:   Set the window topline properly.
  14. Files:        src/eval.c
  15.  
  16.  
  17. *** ../vim-7.0.090/src/eval.c    Tue Sep  5 12:57:14 2006
  18. --- src/eval.c    Tue Sep  5 21:21:37 2006
  19. ***************
  20. *** 16225,16231 ****
  21.       curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant");
  22.       curwin->w_set_curswant = FALSE;
  23.   
  24. !     curwin->w_topline = get_dict_number(dict, (char_u *)"topline");
  25.   #ifdef FEAT_DIFF
  26.       curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill");
  27.   #endif
  28. --- 16225,16231 ----
  29.       curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant");
  30.       curwin->w_set_curswant = FALSE;
  31.   
  32. !     set_topline(curwin, get_dict_number(dict, (char_u *)"topline"));
  33.   #ifdef FEAT_DIFF
  34.       curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill");
  35.   #endif
  36. *** ../vim-7.0.090/src/version.c    Tue Sep  5 20:56:11 2006
  37. --- src/version.c    Wed Sep  6 22:12:31 2006
  38. ***************
  39. *** 668,669 ****
  40. --- 668,671 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     91,
  44.   /**/
  45.  
  46. -- 
  47. Shit makes the flowers grow and that's beautiful
  48.  
  49.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  50. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  51. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  52.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  53.