1
0
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:
Bram Moolenaar
2022-08-05 20:25:50 +01:00
parent 4d2031fdbe
commit 50e75fe8d8
4 changed files with 7 additions and 2 deletions

View File

@@ -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;
}
}