[vim/f18] - patchlevel 673
Karsten Hopp
karsten at fedoraproject.org
Thu Oct 4 21:39:39 UTC 2012
commit 53f5541a7a577cc33fa7ea3275138797d1cc3dcc
Author: Karsten Hopp <karsten at redhat.com>
Date: Fri Oct 5 00:36:27 2012 +0200
- patchlevel 673
7.3.673 | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/7.3.673 b/7.3.673
new file mode 100644
index 0000000..8ab41a3
--- /dev/null
+++ b/7.3.673
@@ -0,0 +1,64 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.673
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.673
+Problem: Using "gN" while 'selection' is "exclusive" misses one character.
+ (Ben Fritz)
+Solution: Check the direction when compensating for exclusive selection.
+ (Christian Brabandt)
+Files: src/search.c
+
+
+*** ../vim-7.3.672/src/search.c 2012-09-05 12:16:39.000000000 +0200
+--- src/search.c 2012-10-03 13:28:49.000000000 +0200
+***************
+*** 4650,4657 ****
+ if (VIsual_active)
+ {
+ redraw_curbuf_later(INVERTED); /* update the inversion */
+! if (*p_sel == 'e' && ltoreq(VIsual, curwin->w_cursor))
+! inc_cursor();
+ }
+
+ #ifdef FEAT_FOLDING
+--- 4650,4664 ----
+ if (VIsual_active)
+ {
+ redraw_curbuf_later(INVERTED); /* update the inversion */
+! if (*p_sel == 'e')
+! {
+! /* Correction for exclusive selection depends on the direction. */
+! if (forward && ltoreq(VIsual, curwin->w_cursor))
+! inc_cursor();
+! else if (!forward && ltoreq(curwin->w_cursor, VIsual))
+! inc(&VIsual);
+! }
+!
+ }
+
+ #ifdef FEAT_FOLDING
+*** ../vim-7.3.672/src/version.c 2012-09-21 14:00:05.000000000 +0200
+--- src/version.c 2012-10-03 13:31:45.000000000 +0200
+***************
+*** 721,722 ****
+--- 721,724 ----
+ { /* Add new patch number below this line */
++ /**/
++ 673,
+ /**/
+
+--
+You can be stopped by the police for biking over 65 miles per hour.
+You are not allowed to walk across a street on your hands.
+ [real standing laws in Connecticut, United States of America]
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- 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 ///
More information about the scm-commits
mailing list