Patch 7.3.1271 (after 7.3.1260)
Problem:    Command line completion does not work.
Solution:   Move setting xp_line down. (Daniel Thau)
Files:      src/ex_getln.c


*** ../vim-7.3.1270/src/ex_getln.c      2013-06-29 12:58:27.000000000 +0200
--- src/ex_getln.c      2013-06-30 12:15:19.000000000 +0200
***************
*** 4379,4389 ****
      int               old_char = NUL;
      char_u    *nextcomm;
  
-     /* Store the string here so that call_user_expand_func() can get to them
-      * easily. */
-     xp->xp_line = str;
-     xp->xp_col = col;
- 
      /*
       * Avoid a UMR warning from Purify, only save the character if it has been
       * written before.
--- 4379,4384 ----
***************
*** 4414,4419 ****
--- 4409,4419 ----
        while (nextcomm != NULL)
            nextcomm = set_one_cmd_context(xp, nextcomm);
  
+     /* Store the string here so that call_user_expand_func() can get to them
+      * easily. */
+     xp->xp_line = str;
+     xp->xp_col = col;
+ 
      str[col] = old_char;
  }
  
*** ../vim-7.3.1270/src/version.c       2013-06-29 17:19:20.000000000 +0200
--- src/version.c       2013-06-30 12:21:13.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     1271,
  /**/

-- 
Q: Is selling software the same as selling hardware?
A: No, good hardware is sold new, good software has already been used by many.

 /// 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/groups/opt_out.


Raspunde prin e-mail lui