Patch 7.4.2005
Problem:    After using evalcmd() message output is in the wrong position.
            (Christian Brabandt)
Solution:   Reset msg_col.
Files:      src/eval.c


*** ../vim-7.4.2004/src/eval.c  2016-07-08 20:11:02.402985162 +0200
--- src/eval.c  2016-07-08 23:03:51.189729430 +0200
***************
*** 11397,11402 ****
--- 11397,11406 ----
        redir_evalcmd = save_redir_evalcmd;
        if (redir_evalcmd)
            redir_evalcmd_ga = save_ga;
+ 
+       /* "silent reg" or "silent echo x" leaves msg_col somewhere in the
+        * line.  Put it back in the first column. */
+       msg_col = 0;
      }
  }
  
*** ../vim-7.4.2004/src/version.c       2016-07-08 22:52:31.931768492 +0200
--- src/version.c       2016-07-08 23:05:19.776417839 +0200
***************
*** 760,761 ****
--- 760,763 ----
  {   /* Add new patch number below this line */
+ /**/
+     2005,
  /**/

-- 
"Women marry men hoping they will change. Men marry women hoping
they will not. So each is inevitably disappointed."
 - Einstein

 /// 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