forked from aniani/vim
updated for version 7.4.473
Problem: Cursor movement is incorrect when there is a number column/sign/fold column and 'sbr' is displayed. Solution: Adjust the column for 'sbr'. (Christian Brabandt)
This commit is contained in:
parent
7425b938cb
commit
e5ead831a2
@ -1184,6 +1184,8 @@ win_lbr_chartabsize(wp, line, s, col, headp)
|
|||||||
{
|
{
|
||||||
col -= W_WIDTH(wp);
|
col -= W_WIDTH(wp);
|
||||||
numberextra = W_WIDTH(wp) - (numberextra - win_col_off2(wp));
|
numberextra = W_WIDTH(wp) - (numberextra - win_col_off2(wp));
|
||||||
|
if (*p_sbr != NUL && col >= (colnr_T)STRLEN(p_sbr))
|
||||||
|
col -= (colnr_T)STRLEN(p_sbr);
|
||||||
if (numberextra > 0)
|
if (numberextra > 0)
|
||||||
col = col % numberextra;
|
col = col % numberextra;
|
||||||
}
|
}
|
||||||
|
@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
473,
|
||||||
/**/
|
/**/
|
||||||
472,
|
472,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user