mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.1-322
This commit is contained in:
@@ -3515,6 +3515,10 @@ line({expr}) The result is a Number, which is the line number of the file
|
|||||||
returned)
|
returned)
|
||||||
w0 first line visible in current window
|
w0 first line visible in current window
|
||||||
w$ last line visible in current window
|
w$ last line visible in current window
|
||||||
|
v In Visual mode: the start of the Visual area (the
|
||||||
|
cursor is the end). When not in Visual mode
|
||||||
|
returns the cursor position. Differs from |'<| in
|
||||||
|
that it's updated right away.
|
||||||
Note that a mark in another file can be used. The line number
|
Note that a mark in another file can be used. The line number
|
||||||
then applies to another buffer.
|
then applies to another buffer.
|
||||||
To get the column number use |col()|. To get both use
|
To get the column number use |col()|. To get both use
|
||||||
|
@@ -16909,6 +16909,14 @@ var2fpos(varp, dollar_lnum, fnum)
|
|||||||
return NULL;
|
return NULL;
|
||||||
if (name[0] == '.') /* cursor */
|
if (name[0] == '.') /* cursor */
|
||||||
return &curwin->w_cursor;
|
return &curwin->w_cursor;
|
||||||
|
#ifdef FEAT_VISUAL
|
||||||
|
if (name[0] == 'v' && name[1] == NUL) /* Visual start */
|
||||||
|
{
|
||||||
|
if (VIsual_active)
|
||||||
|
return &VIsual;
|
||||||
|
return &curwin->w_cursor;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
if (name[0] == '\'') /* mark */
|
if (name[0] == '\'') /* mark */
|
||||||
{
|
{
|
||||||
pp = getmark_fnum(name[1], FALSE, fnum);
|
pp = getmark_fnum(name[1], FALSE, fnum);
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
322,
|
||||||
/**/
|
/**/
|
||||||
321,
|
321,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user