Patch 7.4.732
Problem:    The cursor line is not always updated for the "O" command.
Solution:   Reset the VALID_CROW flag. (Christian Brabandt)
Files:      src/normal.c


*** ../vim-7.4.731/src/normal.c 2015-03-31 17:46:16.844128018 +0200
--- src/normal.c        2015-06-09 19:18:30.394588238 +0200
***************
*** 8493,8498 ****
--- 8493,8501 ----
            /* When '#' is in 'cpoptions' ignore the count. */
            if (vim_strchr(p_cpo, CPO_HASH) != NULL)
                cap->count1 = 1;
+           if (curwin->w_p_cul)
+               /* force redraw of cursorline */
+               curwin->w_valid &= ~VALID_CROW;
            invoke_edit(cap, FALSE, cap->cmdchar, TRUE);
        }
      }
*** ../vim-7.4.731/src/version.c        2015-06-09 19:14:18.777373918 +0200
--- src/version.c       2015-06-09 19:20:00.357591407 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     732,
  /**/

-- 
>From "know your smileys":
 8-O    "Omigod!!" (done "rm -rf *" ?)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui