Karsten Hopp 220a82
To: vim_dev@googlegroups.com
Karsten Hopp 220a82
Subject: Patch 7.4.747
Karsten Hopp 220a82
Fcc: outbox
Karsten Hopp 220a82
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 220a82
Mime-Version: 1.0
Karsten Hopp 220a82
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 220a82
Content-Transfer-Encoding: 8bit
Karsten Hopp 220a82
------------
Karsten Hopp 220a82
Karsten Hopp 220a82
Patch 7.4.747
Karsten Hopp 220a82
Problem:    ":cnext" may jump to the wrong column when setting
Karsten Hopp 220a82
            'virtualedit=all' (cs86661)
Karsten Hopp 220a82
Solution:   Reset the coladd field. (Hirohito Higashi)
Karsten Hopp 220a82
Files:      src/quickfix.c
Karsten Hopp 220a82
Karsten Hopp 220a82
Karsten Hopp 220a82
*** ../vim-7.4.746/src/quickfix.c	2015-05-04 12:34:17.595202558 +0200
Karsten Hopp 220a82
--- src/quickfix.c	2015-06-19 18:34:58.491932112 +0200
Karsten Hopp 220a82
***************
Karsten Hopp 220a82
*** 1841,1846 ****
Karsten Hopp 220a82
--- 1841,1849 ----
Karsten Hopp 220a82
  	    if (qf_ptr->qf_col > 0)
Karsten Hopp 220a82
  	    {
Karsten Hopp 220a82
  		curwin->w_cursor.col = qf_ptr->qf_col - 1;
Karsten Hopp 220a82
+ #ifdef FEAT_VIRTUALEDIT
Karsten Hopp 220a82
+ 		curwin->w_cursor.coladd = 0;
Karsten Hopp 220a82
+ #endif
Karsten Hopp 220a82
  		if (qf_ptr->qf_viscol == TRUE)
Karsten Hopp 220a82
  		{
Karsten Hopp 220a82
  		    /*
Karsten Hopp 220a82
*** ../vim-7.4.746/src/version.c	2015-06-19 16:45:38.580205688 +0200
Karsten Hopp 220a82
--- src/version.c	2015-06-19 18:34:32.156210622 +0200
Karsten Hopp 220a82
***************
Karsten Hopp 220a82
*** 743,744 ****
Karsten Hopp 220a82
--- 743,746 ----
Karsten Hopp 220a82
  {   /* Add new patch number below this line */
Karsten Hopp 220a82
+ /**/
Karsten Hopp 220a82
+     747,
Karsten Hopp 220a82
  /**/
Karsten Hopp 220a82
Karsten Hopp 220a82
-- 
Karsten Hopp 220a82
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 220a82
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
Karsten Hopp 220a82
Karsten Hopp 220a82
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 220a82
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 220a82
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 220a82
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///