summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-07-06 17:51:28 +0200
committerBram Moolenaar <Bram@vim.org>2012-07-06 17:51:28 +0200
commit0306ac33a53114113825242d22d103ee0e3504f9 (patch)
tree957a29311d4c21087f8cb4cebeebb31ad966b739
parentbef4790c236327ebb77cd438d49ac9b8e7dc6542 (diff)
downloadvim-git-0306ac33a53114113825242d22d103ee0e3504f9.tar.gz
updated for version 7.3.590v7.3.590
Problem: The '< and '> marks cannot be set directly. Solution: Allow setting '< and '>. (Christian Brabandt)
-rw-r--r--src/mark.c13
-rw-r--r--src/version.c2
2 files changed, 15 insertions, 0 deletions
diff --git a/src/mark.c b/src/mark.c
index f8b4c576f..9b304f3d3 100644
--- 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 */
diff --git a/src/version.c b/src/version.c
index 0acbce0ab..637abb7df 100644
--- 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,