From 0306ac33a53114113825242d22d103ee0e3504f9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 6 Jul 2012 17:51:28 +0200 Subject: updated for version 7.3.590 Problem: The '< and '> marks cannot be set directly. Solution: Allow setting '< and '>. (Christian Brabandt) --- src/mark.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/mark.c') 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 */ -- cgit v1.2.1