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.3 / 7.3.801 < prev    next >
Encoding:
Internet Message Format  |  2013-02-05  |  2.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.801
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.801
  11. Problem:    ":window set nu?" displays the cursor line. (Nazri Ramliy)
  12. Solution:   Do not update the cursor line when conceallevel is zero or the
  13.         screen has scrolled. (partly by Christian Brabandt)
  14. Files:        src/window.c
  15.  
  16.  
  17. *** ../vim-7.3.800/src/window.c    2013-01-17 13:59:56.000000000 +0100
  18. --- src/window.c    2013-02-06 13:28:10.000000000 +0100
  19. ***************
  20. *** 3991,3999 ****
  21.   
  22.   #ifdef FEAT_CONCEAL
  23.       /* Conceal cursor line in previous window, unconceal in current window. */
  24. !     if (win_valid(owp))
  25.       update_single_line(owp, owp->w_cursor.lnum);
  26. !     update_single_line(curwin, curwin->w_cursor.lnum);
  27.   #endif
  28.   }
  29.   
  30. --- 3991,4000 ----
  31.   
  32.   #ifdef FEAT_CONCEAL
  33.       /* Conceal cursor line in previous window, unconceal in current window. */
  34. !     if (win_valid(owp) && owp->w_p_cole > 0 && !msg_scrolled)
  35.       update_single_line(owp, owp->w_cursor.lnum);
  36. !     if (curwin->w_p_cole > 0 && !msg_scrolled)
  37. !     need_cursor_line_redraw = TRUE;
  38.   #endif
  39.   }
  40.   
  41. *** ../vim-7.3.800/src/version.c    2013-02-06 12:33:15.000000000 +0100
  42. --- src/version.c    2013-02-06 13:32:28.000000000 +0100
  43. ***************
  44. *** 727,728 ****
  45. --- 727,730 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     801,
  49.   /**/
  50.  
  51. -- 
  52. ARTHUR:          But if he was dying, he wouldn't bother to carve
  53.                  "Aaaaarrrrrrggghhh".  He'd just say it.
  54. BROTHER MAYNARD: It's down there carved in stone.
  55. GALAHAD:         Perhaps he was dictating.
  56.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  57.  
  58.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  59. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  60. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  61.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  62.