|
Karsten Hopp |
43a1fa |
To: vim-dev@vim.org
|
|
Karsten Hopp |
43a1fa |
Subject: Patch 7.2.329
|
|
Karsten Hopp |
43a1fa |
Fcc: outbox
|
|
Karsten Hopp |
43a1fa |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
43a1fa |
Mime-Version: 1.0
|
|
Karsten Hopp |
43a1fa |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
43a1fa |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
43a1fa |
------------
|
|
Karsten Hopp |
43a1fa |
|
|
Karsten Hopp |
43a1fa |
Patch 7.2.329
|
|
Karsten Hopp |
43a1fa |
Problem: "g_" doesn't position cursor correctly when in Visual mode and
|
|
Karsten Hopp |
43a1fa |
'selection' is "exclusive". (Ben Fritz)
|
|
Karsten Hopp |
43a1fa |
Solution: Call adjust_for_sel().
|
|
Karsten Hopp |
43a1fa |
Files: src/normal.c
|
|
Karsten Hopp |
43a1fa |
|
|
Karsten Hopp |
43a1fa |
|
|
Karsten Hopp |
43a1fa |
*** ../vim-7.2.328/src/normal.c 2009-12-24 15:00:31.000000000 +0100
|
|
Karsten Hopp |
43a1fa |
--- src/normal.c 2010-01-09 15:19:47.000000000 +0100
|
|
Karsten Hopp |
43a1fa |
***************
|
|
Karsten Hopp |
43a1fa |
*** 7873,7878 ****
|
|
Karsten Hopp |
43a1fa |
--- 7873,7881 ----
|
|
Karsten Hopp |
43a1fa |
&& vim_iswhite(ptr[curwin->w_cursor.col]))
|
|
Karsten Hopp |
43a1fa |
--curwin->w_cursor.col;
|
|
Karsten Hopp |
43a1fa |
curwin->w_set_curswant = TRUE;
|
|
Karsten Hopp |
43a1fa |
+ #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
43a1fa |
+ adjust_for_sel(cap);
|
|
Karsten Hopp |
43a1fa |
+ #endif
|
|
Karsten Hopp |
43a1fa |
}
|
|
Karsten Hopp |
43a1fa |
break;
|
|
Karsten Hopp |
43a1fa |
|
|
Karsten Hopp |
43a1fa |
*** ../vim-7.2.328/src/version.c 2010-01-12 12:48:40.000000000 +0100
|
|
Karsten Hopp |
43a1fa |
--- src/version.c 2010-01-12 15:41:13.000000000 +0100
|
|
Karsten Hopp |
43a1fa |
***************
|
|
Karsten Hopp |
43a1fa |
*** 683,684 ****
|
|
Karsten Hopp |
43a1fa |
--- 683,686 ----
|
|
Karsten Hopp |
43a1fa |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
43a1fa |
+ /**/
|
|
Karsten Hopp |
43a1fa |
+ 329,
|
|
Karsten Hopp |
43a1fa |
/**/
|
|
Karsten Hopp |
43a1fa |
|
|
Karsten Hopp |
43a1fa |
--
|
|
Karsten Hopp |
43a1fa |
From "know your smileys":
|
|
Karsten Hopp |
43a1fa |
|-( Contact lenses, but has lost them
|
|
Karsten Hopp |
43a1fa |
|
|
Karsten Hopp |
43a1fa |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
43a1fa |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
43a1fa |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
43a1fa |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|