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:
13
src/mark.c
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 */
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
590,
|
||||
/**/
|
||||
589,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user