]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.590 v7.3.590
authorBram Moolenaar <Bram@vim.org>
Fri, 6 Jul 2012 15:51:28 +0000 (17:51 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 6 Jul 2012 15:51:28 +0000 (17:51 +0200)
Problem:    The '< and '> marks cannot be set directly.
Solution:   Allow setting '< and '>. (Christian Brabandt)

src/mark.c
src/version.c

index f8b4c576fe9c6a0fd31e1e9c6b6fd8f342ab2a65..9b304f3d3860f293b4e8a4ed690dec7786b30136 100644 (file)
@@ -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 */
index 0acbce0abfd608011716de829cde1b5f5c4f5d2e..637abb7df3f5b68928bec4f92b008088b5bd90e9 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    590,
 /**/
     589,
 /**/