Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated for version 7.3.590

Problem:    The '< and '> marks cannot be set directly.
Solution:   Allow setting '< and '>. (Christian Brabandt)
  • Loading branch information...
commit 8466c741e9cb988c55fc5aa1d9e6581f414c5c3c 1 parent c173681
Bram Moolenaar authored
Showing with 15 additions and 0 deletions.
  1. +13 −0 src/mark.c
  2. +2 −0  src/version.c
View
13 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 */
View
2  src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 590,
+/**/
589,
/**/
588,
Please sign in to comment.
Something went wrong with that request. Please try again.