mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.4.489
Problem: Cursor movement still wrong when 'lbr' is set and there is a number column. (Hirohito Higashi) Solution: Add correction for number column. (Hiroyuki Takagi)
This commit is contained in:
@@ -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 (numberextra > 0)
|
||||||
|
col %= numberextra;
|
||||||
if (*p_sbr != NUL)
|
if (*p_sbr != NUL)
|
||||||
{
|
{
|
||||||
colnr_T sbrlen = (colnr_T)MB_CHARLEN(p_sbr);
|
colnr_T sbrlen = (colnr_T)MB_CHARLEN(p_sbr);
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
489,
|
||||||
/**/
|
/**/
|
||||||
488,
|
488,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user