changeset 3660:bdf7f3e4c763 v7.3.590

updated for version 7.3.590 Problem: The '< and '> marks cannot be set directly. Solution: Allow setting '< and '>. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Fri, 06 Jul 2012 17:51:28 +0200
parents 22ab3555bf83
children 56726ac4c4b7
files src/mark.c src/version.c
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mark.c
+++ b/src/mark.c
@@ -98,6 +98,19 @@ setmark_pos(c, pos, fnum)
 	return OK;
     }
 
+#ifdef FEAT_VISUAL
+    if (c == '<')
+    {
+	curbuf->b_visual.vi_start = *pos;
+	return OK;
+    }
+    if (c == '>')
+    {
+	curbuf->b_visual.vi_end = *pos;
+	return OK;
+    }
+#endif
+
 #ifndef EBCDIC
     if (c > 'z')	    /* some islower() and isupper() cannot handle
 				characters above 127 */
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    590,
+/**/
     589,
 /**/
     588,