0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.590

Problem:    The '< and '> marks cannot be set directly.
Solution:   Allow setting '< and '>. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2012-07-06 17:51:28 +02:00
parent bef4790c23
commit 0306ac33a5
2 changed files with 15 additions and 0 deletions

View 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 */

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
590,
/**/
589,
/**/