|
Karsten Hopp |
57f7ff |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
57f7ff |
Subject: Patch 7.3.630
|
|
Karsten Hopp |
57f7ff |
Fcc: outbox
|
|
Karsten Hopp |
57f7ff |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
57f7ff |
Mime-Version: 1.0
|
|
Karsten Hopp |
57f7ff |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
57f7ff |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
57f7ff |
------------
|
|
Karsten Hopp |
57f7ff |
|
|
Karsten Hopp |
57f7ff |
Patch 7.3.630
|
|
Karsten Hopp |
57f7ff |
Problem: "|" does not behave correctly when 'virtualedit' is set.
|
|
Karsten Hopp |
57f7ff |
Solution: Call validate_virtcol(). (David Bürgin)
|
|
Karsten Hopp |
57f7ff |
Files: src/normal.c
|
|
Karsten Hopp |
57f7ff |
|
|
Karsten Hopp |
57f7ff |
|
|
Karsten Hopp |
57f7ff |
*** ../vim-7.3.629/src/normal.c 2012-07-29 12:55:21.000000000 +0200
|
|
Karsten Hopp |
57f7ff |
--- src/normal.c 2012-08-15 13:20:13.000000000 +0200
|
|
Karsten Hopp |
57f7ff |
***************
|
|
Karsten Hopp |
57f7ff |
*** 7786,7792 ****
|
|
Karsten Hopp |
57f7ff |
--- 7786,7795 ----
|
|
Karsten Hopp |
57f7ff |
* virtualedit. Recalculate curwin->w_cursor to avoid bad hilighting.
|
|
Karsten Hopp |
57f7ff |
*/
|
|
Karsten Hopp |
57f7ff |
if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
|
|
Karsten Hopp |
57f7ff |
+ {
|
|
Karsten Hopp |
57f7ff |
+ validate_virtcol();
|
|
Karsten Hopp |
57f7ff |
coladvance(curwin->w_virtcol);
|
|
Karsten Hopp |
57f7ff |
+ }
|
|
Karsten Hopp |
57f7ff |
#endif
|
|
Karsten Hopp |
57f7ff |
VIsual = curwin->w_cursor;
|
|
Karsten Hopp |
57f7ff |
|
|
Karsten Hopp |
57f7ff |
*** ../vim-7.3.629/src/version.c 2012-08-08 18:01:00.000000000 +0200
|
|
Karsten Hopp |
57f7ff |
--- src/version.c 2012-08-15 13:30:30.000000000 +0200
|
|
Karsten Hopp |
57f7ff |
***************
|
|
Karsten Hopp |
57f7ff |
*** 716,717 ****
|
|
Karsten Hopp |
57f7ff |
--- 716,719 ----
|
|
Karsten Hopp |
57f7ff |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
57f7ff |
+ /**/
|
|
Karsten Hopp |
57f7ff |
+ 630,
|
|
Karsten Hopp |
57f7ff |
/**/
|
|
Karsten Hopp |
57f7ff |
|
|
Karsten Hopp |
57f7ff |
--
|
|
Karsten Hopp |
57f7ff |
"Marriage is when a man and woman become as one; the trouble starts
|
|
Karsten Hopp |
57f7ff |
when they try to decide which one"
|
|
Karsten Hopp |
57f7ff |
|
|
Karsten Hopp |
57f7ff |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
57f7ff |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
57f7ff |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
57f7ff |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|