forked from aniani/vim
patch 9.0.0147: cursor positioned wrong after two "below" text properties
Problem: Cursor positioned wrong after two text properties with virtual text and "below" alignment. (Tim Pope) Solution: Do not stop after a text property using MAXCOL. (closes #10849)
This commit is contained in:
@@ -1173,7 +1173,7 @@ win_lbr_chartabsize(
|
||||
size += cells;
|
||||
}
|
||||
}
|
||||
if (tp->tp_col - 1 > col)
|
||||
if (tp->tp_col != MAXCOL && tp->tp_col - 1 > col)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user