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)
diff --git a/src/charset.c b/src/charset.c
index f7ce335..b245bd7 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1173,7 +1173,7 @@
size += cells;
}
}
- if (tp->tp_col - 1 > col)
+ if (tp->tp_col != MAXCOL && tp->tp_col - 1 > col)
break;
}
}