# HG changeset patch # User Bram Moolenaar # Date 1341589888 -7200 # Node ID bdf7f3e4c763f2a038c397af8eb6b8950e58db6b # Parent 22ab3555bf83fed8053c051db2e1849356619562 updated for version 7.3.590 Problem: The '< and '> marks cannot be set directly. Solution: Allow setting '< and '>. (Christian Brabandt) diff --git a/src/mark.c b/src/mark.c --- 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 --- 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,